Lets say I have a choice column in sharepoint with the 5 choices of, apple, banana, orange, grapes, and mango. When selecting the items field of the combo box in power apps you get Choices(database.listcolumn). How would I write this if I only wanted to see apple, orange and grape?
Hi @colbyturybury ,
It would be
Filter(
Choices(database.listcolumn),
Value = "apple" ||
Value = "orange" ||
Value = "grape"
)
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.
Visit my blog Practical Power Apps
Perfect! Thank you!
Is it possible to instead of type the those three fruit types that you use an ID of sorts such as IDs 0,2,3? Just trying to think of a way to minimize errors.
Hi @colbyturybury ,
As you are filtering the Choices, it needs to specify which ones you do not want. Either that or you go back to Filtering an actual list (and having to use Distinct() with is not Delegable)
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.
Visit my blog Practical Power Apps
User | Count |
---|---|
251 | |
102 | |
94 | |
47 | |
37 |