cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ElDiegoB
Frequent Visitor

Dropdown won't show (or list) global choises Label predefined

Hello,

 

I made a Global choice definition called 'Meses' to store every month to use those values in Dataverse Columns and Forms controls (it's in Spanish)

 

ElDiegoB_3-1670200481088.png

 

I'm trying to build a DropDownList that shows as options all elements of that Global Choice (so every month from the list), I'm using  "Choices(Meses)" in the "Item" property, but it only shows a number (some kind of ID). 

 

here's the definition and how it looks

 

ElDiegoB_0-1670200364833.png

ElDiegoB_1-1670200385941.png

 

I'm not understanding how to get the real month's names in the form, I also tried with a Listbox, which worked fine with the same command in the Items property

 

ElDiegoB_4-1670200590569.png

 

Any ideas on how to fix the DropDownLisst to show the. Month names?

1 ACCEPTED SOLUTION

Accepted Solutions

@ElDiegoB 

 

A Drop down Control is not the same thing as a Combo box Control, in Power Apps Canvas App, so it is good you clarified the difference.

 

Could you give me more information on your data source? If it is not Dataverse tell me what is your data source

 

I cannot reproduce the issue on my side even with a Combo Box Control.

 

Try to do these steps, using screenshot at very bottom as guide:

 

1. Select Combo box Control

2. On the right side, to the right of Fields, click purple Edit text
3. On the flyout that appears, check on Primary text and SearchField - make sure they are both Value if they are something else. Or, if curious, click there and if there's something else, try something else - but usually it should be Value for both.

poweractivate_0-1670204429734.png

 

See if it helps @ElDiegoB 

 

 

View solution in original post

4 REPLIES 4
poweractivate
Super User
Super User

@ElDiegoB 

 

I do not get this issue on my side. Please provide some more information. 
Try using Choices('Meses (YourDataversePluralTableNameHere)') and see if it is better.

 

Try to select the Dropdown and then check the right side. Provide in your reply what are the options for "Value" on the right side. Try selecting "Value" as the option if another one is selected instead.

Hello,

 

Thanks for your answer, i just realized that in Powerapps DropDown are called ComboBox, but the issue is the same...

 

your first suggestion won't work since the origin of the data is not from a Dataverse table, but from a Global choice variable (that can be used in a database table column to link and force to complete with data that is only available in the Global Choice variable (such as the name of the months)).

 

for the other option, for the ComboBox, I don't have a 'Value' property available to work with, that's why a worked with 'Items' property, and there is this weird result that works fine on the ListBox but with other values in the ComboBox.

 

No Value Option:

ElDiegoB_0-1670203484070.png

 

@ElDiegoB 

 

A Drop down Control is not the same thing as a Combo box Control, in Power Apps Canvas App, so it is good you clarified the difference.

 

Could you give me more information on your data source? If it is not Dataverse tell me what is your data source

 

I cannot reproduce the issue on my side even with a Combo Box Control.

 

Try to do these steps, using screenshot at very bottom as guide:

 

1. Select Combo box Control

2. On the right side, to the right of Fields, click purple Edit text
3. On the flyout that appears, check on Primary text and SearchField - make sure they are both Value if they are something else. Or, if curious, click there and if there's something else, try something else - but usually it should be Value for both.

poweractivate_0-1670204429734.png

 

See if it helps @ElDiegoB 

 

 

Hello,

 

So regarding the control name, i don't know the real difference between DropDown and ComboBox (visually should be the same), but I don't have a DropDown element to work with in PowerApps (could it be just a different name for the same?).

 

Regarding the data source, I'm working with PowerApps for Teams, and the only place i found to work with choice variable is in the definition of a dataverse column data type, like this:

 

ElDiegoB_2-1670264318737.png

 

Here's the edition of the  choice variable

 

ElDiegoB_3-1670264371749.png

 

 

So, finally i tried what you said regarding adding a field to the Combobox and now it seems to be working fine

 

ElDiegoB_4-1670264993692.png

 

 

 

ElDiegoB_5-1670265021520.png

 

 

 

Helpful resources

Top Solution Authors
Top Kudoed Authors
Users online (4,422)