cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Community Champion
Community Champion

How do you use CDS picklists in a dropdown?

Hello all.  I have created a custom picklist in CDS.

How can I obtain the values to display as choices in a dropdown control in PowerApps?

Thanks for any input.

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Community Champion
Community Champion

There is now a new extension to the DataSourceInfo function that allows you to do this:

 

DataSourceInfo(MySource, AllowedValues, MyPickListColumn)

This returns a table of available values.

 

Thanks PowerApps team!

View solution in original post

4 REPLIES 4
Leo09
Helper V
Helper V

About this picklist in CDS, how did you create it? Can you post a screenshot here?

Meneghino
Community Champion
Community Champion
Meneghino
Community Champion
Community Champion

There is now a new extension to the DataSourceInfo function that allows you to do this:

 

DataSourceInfo(MySource, AllowedValues, MyPickListColumn)

This returns a table of available values.

 

Thanks PowerApps team!

View solution in original post

Can you use DataSourceInfo() to filter the picklist results? I want to limit the choices of my dropdown that is populated with a picklist. Basically only show valid picklist values based on a previous filter/choice.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,426)