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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Jkaelin
Resolver I
Resolver I

Assistance with Shared Dimension

Good morning,

 

I've built a data model that is helpful, but the model is halted until I can work out this critical step.  The existing method is in Excel and I'm not sure how to apply the "formula / concept" to a Power BI data model.  

 

Essentially, the existing Excel file just flattened the dimensions.  One of the dimensions referenced other dimensions with an IF THEN statement.  

 

Below is how the existing Excel report worked.  The Yellow column is what I'm trying to replicate in the data model.  It references the End User Customer column if it's available, if not available, then Bill to Customer column.  My question is how to replicate this in a data model?

Excel Model w/ formulaExcel Model w/ formula

This is the exact same as the image above, with values instead of formula's.  

Excel Version SampleExcel Version Sample

Below is a portion of my data model.  If I need to provide greater detail, please let me know.  I appreciate any tips or help!  Kindly, James

Data ModelData Model

 

1 ACCEPTED SOLUTION
Jkaelin
Resolver I
Resolver I

It appears I fixed my own problem.  I created a DAX calculated column via "Related" to reference the dimension table.  Then in another calculated column, I created another "Related" function.  This calculated column had the =IF THEN statement, tied into a Related function.  This worked!  Thank you.

 

 

 

View solution in original post

1 REPLY 1
Jkaelin
Resolver I
Resolver I

It appears I fixed my own problem.  I created a DAX calculated column via "Related" to reference the dimension table.  Then in another calculated column, I created another "Related" function.  This calculated column had the =IF THEN statement, tied into a Related function.  This worked!  Thank you.

 

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.