Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I've configured some files in PBI like this...
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.
Solved! Go to Solution.
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:
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]))
Regards,
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:
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]))
Regards,
Thanks for taking the time to help. The solution works perfectly.
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?
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
108 | |
105 | |
78 | |
35 | |
35 |
User | Count |
---|---|
157 | |
103 | |
71 | |
65 | |
53 |