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.
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.