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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup returns blank b...
Power Apps
Answered

Lookup returns blank but Isblank returns false

(1) ShareShare
ReportReport
Posted on by 19

Hello,

I want to use lookup to check if one item exist in my list, 

 

When I use:

LookUp('List','Number'=Gallery1.Selected.Number,'Title'), it shows Blank.
Mmaayy999_1-1720430085955.png

However when I add "IsBlank" or "=Blank()", it shows false...

Mmaayy999_3-1720430230992.png

Anybody knows why?


 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,342 Most Valuable Professional on at

    Hi @Mmaayy999 ,

    What do you get when you use

    With(
     {
     _Data:
     LookUp(
     'List',
     'Number' = Gallery1.Selected.Number
     ).Title
     },
     Len(_Data) = 0
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Mmaayy999 Profile Picture
    19 on at

    Wow it returns true, thank you I think I can use it! do you know what's the problem on using Isblank()?

  • WarrenBelz Profile Picture
    155,342 Most Valuable Professional on at

    Hi @Mmaayy999 ,

    Not precisely, although you may have an empty string "" in the field, which is not blank. I always use Len() as it covers both empty and blank. I also tend to use the lookup structure I posted (I know the views on data retrieval), but it always works.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard