Forum Discussion
ENDOFMONTH + Most Recent Date
- 6 years ago
sergiod04 Try like
Measure = CALCULATE (lastnonblankvalue(DATE_TABLE[Date],SUM(VALUE))), based on grouping it will choose date. Take month year on axis/row/column
Hi amitchandak ,
Thanks for responding. With both the MAX and LASTDATE, it is returning all dates, not just the last day of the month + the most recent one. 😕
end of month was doing the trick of returning only the last day of the month + the last date when i didnt have any date filters applied. the problem is when i apply a date filter that does not land on an end of month.
i appreciate your help.
sergiod04 Try like
Measure = CALCULATE (lastnonblankvalue(DATE_TABLE[Date],SUM(VALUE))), based on grouping it will choose date. Take month year on axis/row/column
- sergiod046 years agoFrequent Visitor
This will work! thank you!