The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, can anybody tell me how to use 2 inactive relationships between tables for slicing and dicing?
I know we can use for USERELATION function in measures but when I use 2 USERELATIONS, it doesn't work anymore and causing ambiguity.
Solved! Go to Solution.
@Anonymous , if you want to active two between 2 tables Say from A to B and C
new measures
Try like
calculate(count(TableA[col]), USERELATIONSHIP(A[ID], B[ID]) ,USERELATIONSHIP(A[SID], C[SID]))
Same two table
calculate(count(TableA[col]), USERELATIONSHIP(A[ID], B[ID]) )
+
calculate(count(TableA[col]), USERELATIONSHIP(A[SID], B[SID]) )
@Anonymous , if you want to active two between 2 tables Say from A to B and C
new measures
Try like
calculate(count(TableA[col]), USERELATIONSHIP(A[ID], B[ID]) ,USERELATIONSHIP(A[SID], C[SID]))
Same two table
calculate(count(TableA[col]), USERELATIONSHIP(A[ID], B[ID]) )
+
calculate(count(TableA[col]), USERELATIONSHIP(A[SID], B[SID]) )
Thanks, I found out CROSSFILTER does the same work.
User | Count |
---|---|
85 | |
84 | |
36 | |
34 | |
32 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |