web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text label referencing...
Power Apps
Answered

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

(0) ShareShare
ReportReport
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?
Categories:
I have the same question (0)
  • Suggested answer
    KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at
    Hey. Can I check the logic please?:
     
    !IsBlank(selectedVendor) = selectedVendor is not blank
     
    If selectedVendor has been set, then this logic is correct?
  • Verified answer
    MM-07112006-0 Profile Picture
    49 on at
    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)
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard