Forum Discussion
Anonymous
7 years agoNot applicable
Max Date with USERELATIONSHIP
Hello, I have a problem with a measure in DAX that brings me the Max date of my Date table, a simple one MAX(DimTime[Date]), the measure works fine, but from my Fact table I have 2 relationships...
- 7 years ago
All of your measures are showing the max date in the calendar table. This has nothing to do with the fact table. If you want the max date in the fact table, then refer to the column in the fact table.
v-lili6-msft
7 years agoCommunity Support
hi, Anonymous
You can use this formula as below:
New Unactive = CALCULATE(MAX(FactTable[Date2]),USERELATIONSHIP(DimTime[Date],FactTable[Date2]))
Result:
Best Regards,
Lin