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 values from a v...
Power Apps
Answered

Lookup values from a variable table column

(0) ShareShare
ReportReport
Posted on by 188

Hello,

 

I have a variable (varFPB) and a table (Quotes).

 

I want to lookup Quotes for ids from the varFPB var.

 

So for example, if I have ids LH123, LH124, LH125 in the varFPB table, I want to then lookup the Quotes table with those ids to check if they're there.

 

I've tried a few things but can't seem to get it to work.

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @drossi90,

    Could you please tell me that how you generate this variable? Show me your formula.

     

    I assume that the variable is a table including a id column, then if you want to check if the Quotes table inclused the ids from the variable, please add a Gallery and set Items property as below:

    Filter(Quotes,ID_in_Quotes in ID_in_varFPB.varFPB)
  • drossi90 Profile Picture
    188 on at

    Thanks @v-qiaqi-msft 

    the variable is populated through 

    UpdateContext({varFPBJobs:
    Filter(dan.SearchJobsProd("218","QUOTE_ACCEPTED","application/json","XXX","XXX"),TradeId = 6, "fixed-price" in quoteDescription)});

     

    Correct, the variable is then populated with a load if information, id being one of the columns.

     

    I tried your formula but it says it isn't recognised.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @drossi90,

    The error suggests that you have referred to a invalid column name maybe, show me how you write the formula.

    You should replace the field name with the real one in your data source.

     

    Eg, I have ID in Quotes table, and I have id in column in variable varFPB

    Filter(Quotes,ID in varFBP.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