Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
VFPowerBI
Regular Visitor

How to get Base Enum values and not its id(numbers) on sql table (BYOD, D365 FO)

Hello,

 

I need your help guys 🙂 

I'm using BYOD and Export services of Dynamics 365 for Finance and Operations (D365 F&O) to prepare sql Tables.

The problem is with fields that have Base Enum data type, those fields are loaded in sql table as numbers (index: 0,1,2....) and not with their label value (String value).

How can I solve this issue?

 

The field should contain values (such as sales, purch....) but the field in sql Table contains (0,1.......)

VFPowerBI_0-1637244125672.png

Thank you, I will appreciate any information.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @VFPowerBI ,

Please review the content in the following links and check whether that is what you are looking for.

How to see enum values in D365

USE [xxDB]
GO
SELECT * from ENUMVALUETABLE
 join ENUMIDTABLE
 on enumid = id
 and ENUMIDTABLE.NAME = 'xxx'

Export all enums over data entity to BYOD

yingyinr_1-1637570168738.png

How to: Use enum values instead of integers in BI reports for Dynamics 365 finance and operations

Also, you can try to go to the BYOD product support team, they will give you more professional advice or solution.

Best Regards

View solution in original post

2 REPLIES 2
gpcottle
New Member

Hello

I have been trying to get enums out of D365 to the DataLake. I had found SRSAnalysisEnums and for the most part it does what I need. However, I have encountered a few instances where certain enum types are not sent to this table. eg 

330 UnitOfMeasureCodeSymbol
4360 UnitOfMeasureSystemOfUnits

Is there another way to get at this data? eg is there a way to have the tables ENUMIDTABLE and ENUMVALUETABLE made exportable? How big a change would it be?

Thanks

Graham

Anonymous
Not applicable

Hi @VFPowerBI ,

Please review the content in the following links and check whether that is what you are looking for.

How to see enum values in D365

USE [xxDB]
GO
SELECT * from ENUMVALUETABLE
 join ENUMIDTABLE
 on enumid = id
 and ENUMIDTABLE.NAME = 'xxx'

Export all enums over data entity to BYOD

yingyinr_1-1637570168738.png

How to: Use enum values instead of integers in BI reports for Dynamics 365 finance and operations

Also, you can try to go to the BYOD product support team, they will give you more professional advice or solution.

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.