cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft chmills
Microsoft

Help creating a filter based upon a choice field

Hi Everyone,

 

I was having a look at the service desk example. There a filter gallery is displayed as a first screen. I figured out how to create a dropdown using a text field as a filter based upon another post. 

 

However, now I want to filter based upon a "choice" field.  Actually, most of the functions I want to do with choice fields don't seem to work as I'm getting a datatype error.

 

Does anyone know how to do this?

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Help creating a filter based upon a choice field

Hi Chmills,

 

Are you using the connection with SharePoint Online? I assumed that you have a Choice field in the list and you want to filter the gallery based on this Choice field.

 

PowerApps expects the filtered/Searched fields to be text fields. So it is currently not possible to filter by using a Choice filed. Please check this documentation about Filter function for more details:
https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Meneghino
Level 10

Re: Help creating a filter based upon a choice field

It IS possible to filter by choice fields and it is even possible to patch data to them.

The problem is that the filtering will not be delegated (yet) so you will only query the first 500 rows.

You just need to add .Value after the name of your choice column, such as in the screenshot below.

The blue i warning is to say that this operation will not be delegated.

__.JPG

EdHacker
Level: Powered On

Re: Help creating a filter based upon a choice field

Has a target been announced for the delegation of  "Choice Fields"?

 

Are there any workarounds for this?

 

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,341)