Forum Discussion
Anonymous
5 years agoNot applicable
Max Month Year
Hi, I've simple below table, I need new custom column with only Max (MonthYear) then show 1 else 0. Tried this example but no luck LastDateInData =
IF ( Table1[OrderDate] = MAX ( Table1[OrderDat...
- 5 years ago
Anonymous Try using Variable or EARLIER function:
LastDateInData = IF (
COUNTROWS( FILTER( Table1, Table1[OrderDate] > EARLIER ( Table1[OrderDate] ) ) ) =0 , 1, 0 )
AllisonKennedy
Community Champion
5 years agoAnonymous Try using Variable or EARLIER function:
LastDateInData = IF (
COUNTROWS( FILTER( Table1, Table1[OrderDate] > EARLIER ( Table1[OrderDate] ) ) ) =0 , 1, 0 )
Anonymous
5 years agoNot applicable
Hi,
Still I don't get correct result, some of it got but still output is not correct.
Actually It is ignoring the previous days in the same month.
Note: I filtered by latest MonthYear.