Hello everyone and welcome to my blog. In today’s blog I will share a quick tip on how to bind a multiselect choice field of DataVerse in a canvas app combobox.
For this demo I have created a table in Dataverse – Report which has a multi-select choice column Category. Below are the choices.
I want to show the Category values inside a combobox. To do this I need to use the Choices function of PowerApps. Below is the code to do the same.
Choices(Reports[@Category])
The tricky part here is the way you need to refer to the Category field of the Reports table. Observe the usage of @ symbol to get the values.
Once done, the combobox now shows the values of the Category field. To enable multiple selections in the combobox, you need to set the ‘SelectMultiple‘ property of the combobox to true.
A quick tip but can be of great help if you are getting started with Power Apps.
Hope you liked this post. If this post has helped, you can buy me a coffee.
For similar topics on Microsoft.NET and Power Platform, subscribe to my blog using the Subscribe option on right pane.
Debajit Dutta
Business Solutions MVP
Discover more from Debajit's Power Apps & Dynamics 365 Blog
Subscribe to get the latest posts sent to your email.