cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

filtering sharepoint choice field combobox

I am just starting with PowerApps and seem not to be able to do trivial filtering with values in combobox.

 

The setup is simple: I have a sharepoint list with Choice field type (not lookup). Now in PowerApps I want to be able to filter values in combobox related to my Choice field using literal value.

 

F.y. I have 2 entries in Choice field: Test1 and Test2

I want to see only Test2 in powerapp. How to do this filtering ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: filtering sharepoint choice field combobox

Hi @strzzz 

If you only want to show the Test2 choice in a ComboBox, you can do this by setting the Items property of your ComboBox to:

Choices(YourDataSource.YourChoiceField, "Test2")

For info, here's a similar post that shows how to filter out items in a choice field.

https://powerusers.microsoft.com/t5/General-Discussion/Hiding-one-choice-in-a-drop-down-column/m-p/2...

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: filtering sharepoint choice field combobox

Hi @strzzz 

If you only want to show the Test2 choice in a ComboBox, you can do this by setting the Items property of your ComboBox to:

Choices(YourDataSource.YourChoiceField, "Test2")

For info, here's a similar post that shows how to filter out items in a choice field.

https://powerusers.microsoft.com/t5/General-Discussion/Hiding-one-choice-in-a-drop-down-column/m-p/2...

View solution in original post

Highlighted
Frequent Visitor

Re: filtering sharepoint choice field combobox

Is it possible to add more then one choices in the formula. I tried all the operators PowerApps know but didn't work.

 

This is a start of the formula, there are more choices:

 

Choices(TotaaloverzichtSportsLabsEU.'Onderbouw Labtest', "Geconformeerd"  "Nvt")

 

I have a column on my sharepoint list which is set to Choices with about 7 choices, but I want to just limit the choices to those choices I set in the column on my sharepoint list. Filtering, Distinct functions won't work. 

If I use Choices it also gives me the free to fill in choices as well. I tried something like .Value !Result, didn't work either. I am quite knew to this but I strangled my brains with this. 

Settings of  the dropdown menu in a gallerySettings of the dropdown menu in a galleryThe Choices I do not want to show but are in my list in that specific ColumnThe Choices I do not want to show but are in my list in that specific Column

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,536)