Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Text label referencing a Dropdown is displaying text, but !isblank is returning value as True?

Posted on by 49
Hi everyone,
 
I'm a little confused at what is going on here. I have a text label that is returning the value that is selected from my dropdown box and it is correctly displaying the text. But when I try to pull a reference field that is based on an Excel table, the result is always blank. So I tried a debugging label and for some reason the !IsBlank() function is returning as "True" even when an item is selected, so I think this is the root cause of why I'm not getting any referenced values from the table. Any idea what is going on?
  • Verified answer
    MM-07112006-0 Profile Picture
    MM-07112006-0 49 on at
    Text label referencing a Dropdown is displaying text, but !isblank is returning value as True?
    So my VENDORID excel file has a bunch of "spaces" trailing and for whatever reason, PowerApps would automatically trim the ends in the Lookup function but still try to reference the field with trailing spaces. The following formula worked for me:
     
    LookUp(APVEN, VENDNAME = TrimEnds(VendorList.Selected.VENDNAME), VENDORID)
     
     
  • Suggested answer
    KeithAtherton Profile Picture
    KeithAtherton 3,649 on at
    Text label referencing a Dropdown is displaying text, but !isblank is returning value as True?
    Hey. Can I check the logic please?:
     
    !IsBlank(selectedVendor) = selectedVendor is not blank
     
    If selectedVendor has been set, then this logic is correct?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard