I have made two columns relationship in a table to one column in another table. But 2nd relationship is showing dotted line (which is not active), like
SALES2015[Date1] ----(related to)---> 'date'[Date]
SALES2015[Date2] ---(related to)----> 'date'[Date]
this relation is made to find total in two different way.
2015SalesSameDay:=
calculate(sum(SALES2015[Sales15]),USERELATIONSHIP(SALES2015[Date1],'date'[Date]),FILTER(SALES2015,SALES2015[DATE]<=[MaxDate]))
2015SalesSameDate:=
calculate(sum(SALES2015[Sales15]),USERELATIONSHIP(SALES2015[Date2],'date'[Date]),FILTER(SALES2015,SALES2015[DATE]<=[MaxDate]))
The 2nd formula not getting correct value, how to use USERELATIONSHIP ?
SALES2015[Date1] ----(related to)---> 'date'[Date]
SALES2015[Date2] ---(related to)----> 'date'[Date]
this relation is made to find total in two different way.
2015SalesSameDay:=
calculate(sum(SALES2015[Sales15]),USERELATIONSHIP(SALES2015[Date1],'date'[Date]),FILTER(SALES2015,SALES2015[DATE]<=[MaxDate]))
2015SalesSameDate:=
calculate(sum(SALES2015[Sales15]),USERELATIONSHIP(SALES2015[Date2],'date'[Date]),FILTER(SALES2015,SALES2015[DATE]<=[MaxDate]))
The 2nd formula not getting correct value, how to use USERELATIONSHIP ?