Forum Discussion
HaiVN
Helper III
2 years agoMeasure : Calculate does not select right MAX ( date)
Dear all, I need your help on my DAX I write a measure: ---- Total persons = Var Total = CALCULATE( SUM('data'[value]), 'data'[Date]=MAX('data'[Date])) return if(Total>...
Anonymous
2 years agoNot applicable
Hi HaiVN , aduguid, thank you for your prompt reply!
This works on my sample data according to my tests, please upload your pbix file for further testing if possible.
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.