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 / Powerapps - Lookup & F...
Power Apps
Unanswered

Powerapps - Lookup & Filter not working for collections

(0) ShareShare
ReportReport
Posted on by 4

Can someone please explain to me why option 1 & 3 both work here and yet option 2 wont work?

 

Option 1: LookUp('EVA/EXCEL_AvgCherryWeights', FarmName=Gallery1.Selected.FarmName && VarietyDesc=Gallery1.Selected.VarietyName).AvgCherryGrams

 

Option 2: LookUp(TempAvgCherryWeights, FarmName=Gallery1.Selected.FarmName && VarietyDesc=Gallery1.Selected.VarietyName).AvgCherryGrams

 

Option 3: LookUp(TempAvgCherryWeights, FarmName="Bambara" && VarietyDesc="Kordia").AvgCherryGrams

 

where Option 1 is directly looking up the SQL table

where Option 2 is looking up a collection that is EXACTLY the same as the table and the data is defintely in there

where Option 3 is explicity typing out the text fields that I'm trying to lookup

 

Is my powerapps just having a bad day or am I missing something?

Categories:
  • Fredrik_A Profile Picture
    3,644 Super User 2026 Season 2 on at

    Most likely one of the galleries.selected is not returning the correct data that the datasource wants to compare which causes it to not find a suitable item.

  • Craig6 Profile Picture
    4 on at

    No, the data is correct.  Hence why option 1 is working without problem.  The following ishow the collection is collected, basically copying the exact same table from sql.  I'm going crazy here, why won't this work?

     

    ClearCollect(TempAvgCherryWeights, ForecastApp_AvgCherryWeightsSummary);

  • Craig6 Profile Picture
    4 on at

    Anyone else have thoughts on this?  I have now tried multiple times within my app using other data sources, but I can't seem to use Lookup or Filter on a collection, they simply return blank.

     

    Is this new or has it always been the case?  Help please?

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
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard