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?
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:
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.
Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Did you miss the call?? Check out the Power Apps Community Call here!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.