Forum Discussion
Show only record with current date
- Anonymous4 years ago
Hi Sentinel997 ,
Method1: Change the summarized type as "Latest":
Method2: Create a measure:
Latest Date = CALCULATE(MAX('Table'[Date]),FILTER(ALL('Table'),[FZFZTP]=MAX('Table'[FZFZTP])))Method3: If you just want to display the latest row, please follow jbwtp 's method to create a flag measure for filter:
Filter Flag = var _latest=CALCULATE(MAX('Table'[Date]),FILTER(ALL('Table'),[FZFZTP]=MAX('Table'[FZFZTP]))) return IF(MAX('Table'[Date])=_latest,1,0)And then apply it to visual-level filter pane, set as "is 1":
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I think there is a missing closing bracket before "=MAX" in the formula (and I guess, once you fix it there will be one redundant closing bracket at the end of the equasion).
thanks for the hint.
However, it still doesn't work.
- jbwtp4 years agoMemorable Member
Hi Sentinel997,
This is because, I've ignored that you have more columns and they are also varied across same vehicle type.
Try this one and see if this works for you:
Measure = if(CALCULATE(MAX(RRDVREP[Einlagerungsdatum]), ALLEXCEPT(RRDVREP,RRDVREP[FZFZTP])) = MAX(RRDVREP[Einlagerungsdatum]), 1, 0)Cheers,
John