Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I need your help to understand how I can solve my problem, I have 2 fact tables and their dimensions, I would like to be able to use the 2 fact tables to get their calculated value, you can see my explanation in image.
For example, I have my Demande fait table which contains calculated values, which is linked to Demande and also linked to Activité, but we want users to also have access to the calculated values of the "Activité fait" fact table.
How could this problem be resolved?
Thank you for your help
Solved! Go to Solution.
Hi @ketthos ,
If I understand wrongly, please correct me.You could perhaps use the 'CROSSFILTER' function.
CROSSFILTER function - DAX | Microsoft Learn
The Table data is shown below:
Table1:
Table2:
Table3:
Measure =
CALCULATE(SUM(Table3[Value]),
CROSSFILTER(Table1[ID],Table2[ID],Both)
)
Best Regards,
Wenbin Zhou
Hello, first of all, thanks for your answer, i've checked what you say, and everthing works perfeclty, thanks a lot. I've used both relationship too on other sample and that works too!
Thanks for your help.
Hi @ketthos ,
If I understand wrongly, please correct me.You could perhaps use the 'CROSSFILTER' function.
CROSSFILTER function - DAX | Microsoft Learn
The Table data is shown below:
Table1:
Table2:
Table3:
Measure =
CALCULATE(SUM(Table3[Value]),
CROSSFILTER(Table1[ID],Table2[ID],Both)
)
Best Regards,
Wenbin Zhou
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 |
---|---|
114 | |
88 | |
87 | |
35 | |
35 |
User | Count |
---|---|
153 | |
99 | |
85 | |
63 | |
54 |