Forum Discussion

mpros's avatar
mpros
Icon for Helper I rankHelper I
1 year ago
Solved

Calculate + UseRelationship Syntax with N to N

Hi, 
why this isn't working? Is something related to N-N relationship? Any turnaround?

 

X(LW) = CALCULATE(sum(table[Quantity]), USERELATIONSHIP(CalendarFull[fnPreviousWorkday],table[_Datex]))

X = CALCULATE(sum(table[Quantity]), USERELATIONSHIP(CalendarFull[Date],table[_Datex])) 

X works aswell with just SUM[Quantity] as active relationship

 







Calendar Table

 

1 Reply