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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

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