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 / If two lookup are foun...
Power Apps
Answered

If two lookup are found visible = false

(0) ShareShare
ReportReport
Posted on by 33

Guys, I need a help. 

 

I need to hide a button when two selected values are found at this "EXCESSÕES" list. 

 

I just cant deal with two lookups functions. Is that right to think in lookup function? 

 

 

SETP.png

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @gabrielrosa94 

    Sure thing...you can certainly use both lookups in your Visible property.  

    Unfortunately, I am not completely following what your condition is.  It seemed at first that you were saying two value in the "EXCESSÕES" list, but then your photo seems to indicate a value in "EXCESSÕES" and a value in Cliente.

     

    So...I'll give a generic scenario.  

     

    Visible property:

    (IsBlank(Lookup(Cliente, ID=someIDReference, ID)) || IsBlank(Lookup("EXCESSÕES", ID=someIDReference, ID))

     

    If there is a value in Cliente, the IsBlank will return false.  

    If there is a value in "EXCESSÕES", the IsBlank will return false.  

     

    We OR (||) the two together and in order for Visible to be true:

        Visible            Cliente Lookup           EXCESSÕES Lookup

            T                          T                                      T

            T                          F                                      T

            T                          T                                      F

            F                          F                                      F

     

     

    I hope this is helpful for you.

     

     

  • gabrielrosa94 Profile Picture
    33 on at

    Is that what I've been looking for! 

     

    Thank you, friend. 

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard