Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

ENUMS in PowerBI

(0) ShareShare
ReportReport
Posted on by 219
We expose our D365 F&O Data to Azure Data Lake, which is used as datasource for PowerBI-Reporting. As we know AX (F&O) has a datatype ENUM where the enumerations are stored as integer values in the database. In F&O application these ENUMs are implicitly displayed with a userfriendly label (user language depending). What is the best way to implement the ENUM-Label/-Labeltranslation in a PowerBI-Report, which is based on Azure Data Lake? 
 
BTW: I now there is a table SRSEnumValueTable (or something like this) inherited from earlier AX-Versions, where we had this inbuild OLAP-Cubes, but this table does not include all required Enums.
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 2,310 Super User 2025 Season 1 on at
    ENUMS in PowerBI
    I've only ever been able to solve this with a custom export or table.
     
    Take a look at Microsoft.Dynamics.Ax.Xpp.MetadataSupport::EnumNames(), you can use it to iterate through all the Enum names and dump their metadata into a table for export to the DataLake, or just spit out a CSV depending on how often your enums actually change. 
     
    You can then use SysDictEnum to lookup Enum item Names and Values.
  • Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    ENUMS in PowerBI
    Hi,
    If you want to implement something similar to FO in PowerBI, the ENUMs are implicitly displayed with a userfriendly label (user language depending), you might consider creating a mapping table: you can match the enumerated values to user-friendly tags, which allows for conversion between numeric values and tags.
    Best regards,
    Kevin

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans