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 / Using &&& and || in Lo...
Power Apps
Answered

Using &&& and || in LookUp

(0) ShareShare
ReportReport
Posted on by 51

Hello there!

 

I'm trying to perform LookUp on a "settings" table with multiple conditions & am observing strange behavior. 

 

LookUp (
settings,
 dropdown1.Selected.Value in Column1.Value
 && dropdown2.Selected.Value in Column2.Value
 && dropdown3.Selected.Value in Column3.Value
 && (dropdown4.Selected.Value in Column4.Value || "All" in Column4.Value)
)

 

I'm trying to look up the record that matches the dropdowns to column values except in case of dropdown4, where the condition becomes an OR within the AND (all the other conditions must be met and either dropdown4's selected value is in column 4 OR "All" is in Column 4 - one or the other needs to return true). everything works right up until the last line. 

 

Is my syntax correct for what I'm trying to do? Any suggestions?

 

Thanks in advance!

 

 

 

Categories:
I have the same question (0)
  • BhargavPatel Profile Picture
    660 Moderator on at

    @ImaKickUrAsh Can you try removing ".Value" from all the column names?

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @ImaKickUrAsh ,

     

    Could you please share more details about your scenario? What data source is it? What are the types of the columns 1-4? 

     

    It seems these columns are all Choices columns allow multiple selections, if this is the case, you can also try below formula:

    With(
     {
     wFilter: Filter(settings, dropdown4.Selected.Value in Column4.Value || "All" in Column4.Value)
     },
     LookUp(
     wFilter,
     dropdown1.Selected.Value in Column1.Value
     && dropdown2.Selected.Value in Column2.Value
     && dropdown3.Selected.Value in Column3.Value
     )
    )

     

    Best regards,

  • ImaKickUrAsh Profile Picture
    51 on at

    Hello,

     

    I could not - they are multi-select fields & would throw errors when I removed .Value 

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard