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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DHB
Helper V
Helper V

relationships between fields

I've configured some files in PBI like this...

Table.png

I want a table to show me the update dates (a column in each of the 4 files on the right) by course (from the course dimension on the left).  When I try to put data from >1 of the one to many files (assignment, discussion or quiz dimensions) into the table PBI tells me that it can't determine the relationships between the fields.  

 

I can put the one to one file (wiki dimension) with data from any one of the other three dimensions.  It just repeats the wiki update date for each instance of the other dimension's update date.

 

Does anyone have any idea how I can make this work?

 

Thanks in advance.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@DHB

 

In your scenario, it seems you build the relationships between Course dimension to all other 4 dimensions based on ID column. Those 4 dimensions have no relationships between each other. So we can't put the 4 update dates into same visual. You have to create 4 measures to return the recent update date in corresponding table. See my sample below:

 

555.PNG

 

666.PNG

 

777.PNG

 

888.PNG

 

Then create measures to return the MAX date:

 

recent Dim_A Date = CALCULATE(MAX(Dim_A[Dim_A_Date]))
recent Dim_B Date = CALCULATE(MAX(Dim_B[Dim_B_Date]))
recent Dim_C Date = CALCULATE(MAX(Dim_C[Dim_C_Date]))

000.PNG

 

 

Regards,

View solution in original post

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@DHB

 

In your scenario, it seems you build the relationships between Course dimension to all other 4 dimensions based on ID column. Those 4 dimensions have no relationships between each other. So we can't put the 4 update dates into same visual. You have to create 4 measures to return the recent update date in corresponding table. See my sample below:

 

555.PNG

 

666.PNG

 

777.PNG

 

888.PNG

 

Then create measures to return the MAX date:

 

recent Dim_A Date = CALCULATE(MAX(Dim_A[Dim_A_Date]))
recent Dim_B Date = CALCULATE(MAX(Dim_B[Dim_B_Date]))
recent Dim_C Date = CALCULATE(MAX(Dim_C[Dim_C_Date]))

000.PNG

 

 

Regards,

Thanks for taking the time to help.  The solution works perfectly.

DHB
Helper V
Helper V

Is there some DAX I could use to filter out multiples in the assignment, quiz and discussion dimension tables and keep only the most recent updated date? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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