March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I have the following tables with the following relationship A<...*:*...>B, B-*:1->C where C is some lookup table. Lets say in table A there is Status field called IsCompleted which is used in BarChart like this to show total iscomplete true vs false.
Lets say I have drop down slicer for the lookup table C. The problem I have given indirect relationship and given is that when I select a value from the slicer to filter by, the tolals in the bar chart doesnt change. I tried using USERELATIONSHIP and ALLSELECTED but nothing worked! how can I get this working? Thanks alot.
Solved! Go to Solution.
Hi @alisaleh ,
I create a sample to have a test, and USERELATIONSHIP should work well.
Table A:
Table B:
Table C:
Relationship:
Measure =
CALCULATE(SUM('Table A'[Value]),USERELATIONSHIP('Table A'[Category],'Table B'[Category]), USERELATIONSHIP('Table B'[Category],'Table C'[Category]))
Result is as below.
If this reply still couldn't help you solve your problem, please share a sample file with me. And show me a screenshot with the result you want. This will make me easier to find the solution.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @alisaleh ,
I create a sample to have a test, and USERELATIONSHIP should work well.
Table A:
Table B:
Table C:
Relationship:
Measure =
CALCULATE(SUM('Table A'[Value]),USERELATIONSHIP('Table A'[Category],'Table B'[Category]), USERELATIONSHIP('Table B'[Category],'Table C'[Category]))
Result is as below.
If this reply still couldn't help you solve your problem, please share a sample file with me. And show me a screenshot with the result you want. This will make me easier to find the solution.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
7 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
8 | |
3 | |
2 | |
2 | |
2 |