Hi,
I'm new in PowerApps and I'm currently blocked on something supposed to be easy. Any help would be much appreciated.
So, I have a form connected to datavarse table as data source. The data type for the column I'm having troubles with, is Choice. I added this in the form and it's coming as Combo box inside a Card. Now, I'm trying to set a Label Text with the selected value in the combobox, but I'm not able to do this.
I tried to set the label's Text value with 'combobox_id'.Selected.Value, but it says "This data type is unsupported for evaluation.", I tried "First(combobox_id.SelectedItems).Value", it says the same thing as before.
Also, the combox's Items property is set to "Choices(WorkType)", so I tried to get its value using this and I set the text property for the label with: Choices(WorkType).Value - I have an error saying: "Expected text value".
Nothing seems to work. So, how I can display the value selected in that combobox?
Thank you!
Solved! Go to Solution.
Meantime, I found the solution. I had to convert the selected value to text, using Text() method.
So, it worked like this: Text(combobox_id.Selected.Value)
Meantime, I found the solution. I had to convert the selected value to text, using Text() method.
So, it worked like this: Text(combobox_id.Selected.Value)
Thanks for your posting here and sharing the solution in the forum as it would be helpful to anyone who encounters similar issues.
Best Regards.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.