Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I am working with Opportunity table from Microsoft Dynamics D365.
In the application, the field Status can have any of those values:
When I am using D365 as a data source in Power BI, I am accessing a different layer of the database, where the field Status is named "StateCode", and the values are:
My goal is to have in Power BI the values that are visible in the application.
Questions:
Thank you!
Thomas.
Solved! Go to Solution.
Hi @Anonymous,
Create one dimension table based on unique records from all related table columns and build relationships obviously will affect performance.
If you can direct modify source data, it should more quickly than my suggestion.
If you mean do replace operation on power query side, it should complex and low performance.(you need to create a dictionary table to compare and replace state on all of tables who contains state column)
Regards,
Xiaoxin Sheng
HI @Anonymous,
I'd like to suggest you create a status table with state code and description, build relationships from this table to all of statuscode columns.
After this step, you can use 'description' column to replace status code column on visualization to display more clearly status description.
Regards,
XIaoxin Sheng
Hi @Anonymous
Thanks a lot for your reply.
That is a good idea, but I'm worried about performance, and I'm wondering if replacing the values directly in the table would make calculations faster ?
What do you think ?
Thank you.
Thomas.
Hi @Anonymous,
Create one dimension table based on unique records from all related table columns and build relationships obviously will affect performance.
If you can direct modify source data, it should more quickly than my suggestion.
If you mean do replace operation on power query side, it should complex and low performance.(you need to create a dictionary table to compare and replace state on all of tables who contains state column)
Regards,
Xiaoxin Sheng
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |