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

Re: Dropdown List

Gallery also works with tables, so replacing the ComboBox1.Items = ... with Gallery1.Items should work. Try this:

Gallery1.Items=Table({Value:"A", Description:"Active"}, {Value:"I", Description:"Inactive"})

 

And then add a Label control to the gallery. Most likely, the label will be set automatically with "ThisItem.Description" and therefore will display "Description" values.

 

tduncan1
Level: Powered On

Re: Dropdown List

powerapps.PNG

 

 

It is only asking for the text and not the Item

 

 

Microsoft Employee

Re: Dropdown List

Is "MachineType" a record? Try ThisItem.MachineType.Value (or other text field)

tduncan1
Level: Powered On

Re: Dropdown List

MachineType is the column of the table

Highlighted
Microsoft Employee

Re: Dropdown List

Is your label inside a gallery? If not then you should use something like Label1.Text=Gallery1.Selected.MachineType instead.You can test with the following formulas:

Gallery1.Items=Table({MachineType:"A", Description:"Active"}, {MachineType:"I", Description:"Inactive"})

Label1.Text=ThisItem.MathineType (assuming the Label is inside the gallery). 

Label1.Text = Gallery.Selected.MachineType (Label is outside the gallery)

 

You can find more informatino about the Gallery control here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-gallery

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 234 members 4,723 guests
Please welcome our newest community members: