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 Apps
Unanswered

Choices

(0) ShareShare
ReportReport
Posted on by 6

In Lookup Column, Item property not working

LookUp('account','name' = [TextInput3.Text],[TextInput4.Text],[TextInput5.Text])

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Anonymous1198 ,

     

    You are using the wrong syntax. Please try:

     

    LookUp(
     'account',
     'name' = [TextInput3.Text] ||
     'name' = [TextInput4.Text] ||
     'name' = [TextInput5.Text]
    )

     

     

  • Anonymous1198 Profile Picture
    6 on at

    Hi 

    It give only one value not all 3 in Lookup comboBox

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Anonymous1198 ,

     

    If you want to return only items that match for all three criteria, use && instead of ||:

     

    LookUp(
     'account',
     'name' = [TextInput3.Text] &&
     'name' = [TextInput4.Text] &&
     'name' = [TextInput5.Text]
    )
  • Anonymous1198 Profile Picture
    6 on at

    Hi @BCBuizer 

     

    If I use [] then incompatible compare error

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Anonymous1198 ,

     

    Apologies, but I don't understand what you mean by that. 

     

    What is it you need to get from the data source?

     

    So far I provided solutions where:

    - the name is equal to either of the three TextInputs 

    - the name is equal to all three TextInputs

     

    If you're looking to get more that one item, you need to use the Filter function instead of LookUp:

    Filter(
     'account',
     'name' = [TextInput3.Text] ||
     'name' = [TextInput4.Text] ||
     'name' = [TextInput5.Text]
    )

     

  • Anonymous1198 Profile Picture
    6 on at

    Hi @BCBuizer 

     

    Actually 

    I have two Screen and on First Screen have 2 Editform of Account Tables 

    Second Screen, I have 1 Contact table editform having Account Table Lookup and item =[Choices([@'Contacts'].account)

    If user fill both edirform of Account table then in Second Screen Account Lookup show DataCardValue1 and DataCardValue2 as choices

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Anonymous1198 ,

     

    This is a bit different to what you asked earlier on, but ok..

     

    So you want to filter the choices for a LookUp type column, based on the selected items in DataCardValue1 and DataCardValue2? The below should work for the Items property of the lookup DataCardValue on screen 2 if DataCardValue1 and DataCardValue2 are both ComboBoxes:

    Filter(
     [Choices([@'Contacts'].account),
     Id = DataCardValue1.Selected.ID ||
     Id = DataCardValue2.Selected.ID
    )

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard