Forum Discussion
Anonymous
4 years agoNot applicable
USERELATIONSHIP not working
I have a table NU with the below data : AC No SA LC 156657 898 a 156657 -90 b 877879 213 c 877879 242 d 34 e Table RR with the below data : Cust ...
- 4 years ago
Hi Anonymous
Some times you need to CROSSFILTER the other relationship to NoneFA cus = CALCULATE ( SUM ( 'RR'[FA] ), USERELATIONSHIP ('RR'[Cust], 'NU'[AC No] ), CROSSFILTER ( 'RR'[LC], NU[LC], NONE ) )
Anonymous
4 years agoNot applicable
Is it possible without using a bridge table
johnt75
4 years agoSuper User
I don't think so. I created a measure
Num cust = COALESCE( CALCULATE( COUNTROWS(RR), USERELATIONSHIP(NU[AC No], RR[Cust])), 0)which gives very strange results
I don't understand why the relationship is messed up, but cleaning up the data seems to fix the problem