web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown values from e...
Power Apps
Answered

Dropdown values from entity showing enum names, not labels

(0) ShareShare
ReportReport
Posted on by 20

Hey guys.

 

I'm working with Dynamics 365 entity and I am trying to display possible options that can be chosen in a dropdown. An issue I ran into which is more about user-friendly side - it is displaying enum technical names from dev side, not the labels. Dropdown is being used to change types and patch it back to entity.

 

Here is an example of how the dropdown options look:

 

Steel
WroughtIron BrushedCopper BrushedSteel AlkalineMetal

 

And here is how I'd like it to look (it looks like this in D365 dashboard since it is displaying labels):

Steel
Wrought iron
Brushed copper
Brushed steel
Alkaline metal

Here is the expression I am using to display the dropdown options to choose from:

DataSourceInfo(D365Entity, DataSourceInfo.AllowedValues, "Metals")

 

Is there a possibility to display the labels instead?

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    adding in @EvanChakiMSFT to assist with this question

  • Verified answer
    Maximilian Profile Picture
    20 on at

    Hey @Anonymous, thanks for looking into this.

    An update: I figured out a workaround. I created two dropdowns, one dummy one and one using the entity enums.

    In the dummy dropdown I stored intended labels for the enums and in the other were stored the enum names. What I did was make a switch expression that makes corresponding entity dropdown option get selected whenever dummy one option is chosen. Then I simply made only the dummy dropdown with the labels visible.

     

    • Example: "Wrought Iron" in dummy dropdown selected -> "WroughtIron" triggered to be selected in the real dropdown.

    Then I was able to patch values back to entity from the real dropdown with no problem, since it still returned back enum value.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Maximilian That's awesome, great work! What lead you to the workaround? @Anonymous 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard