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 / Filter when field is a...
Power Apps
Unanswered

Filter when field is a table?

(0) ShareShare
ReportReport
Posted on by 8

I'm using a Sharepoint List as a Datasource. The field "ProductFamily" is a Choice field, which apparently is represented (at least in Powerapps) as a table, itself. 

 

Assuming I have a variable called varSelectedProductFamily = Internet. 

 

How do I filter the Table by the ProductFamily field (since it's a record, not a text field)?

Filter(colProducts, ProductFamily.Value = varSelectedProductFamily) doesn't work (nor would I expect it to, since the ProductFamily field is a table).

 

Also, is there a way to tell Sharepoint Lists to store the Choice field as a text value? Instead of as a table? 

Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @oguruma1218 ,

    Is ProductFamily a Multiple Choice - in which case

    Filter(
     colProducts, 
     varSelectedProductFamily in ProductFamily.Value
    )

    I am also assuming here varSelectedProductFamily is a single Text value.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard