Forum Discussion
Dynamic Filter using measure
- 5 years ago
Hi Anonymous ,
1. Mark the largest date.
2. Set the maximum date as the default value.
Each time the date column is updated, the slicer will select the maximum date by default.
The same is true for the solutions provided by amitchandak, DataZoe
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , Create a column like this in date table or table and filter that on MaxDate
Is max Date =
var _max = maxx(Table, Table[Date])
return
if('Date'[Date]=_max,"MaxDate",[Date]&"")
You can sort this on date column https://youtu.be/hfn05preQYA
Can you please make it modular. For layman like me ,
Create a column --- which one is a new column from your example (Is max date = ???)
Then filter (?????) ok completely locst here , does this whole thing must be used in a filter
var _max = maxx(Table, Table[Date])
return
if('Date'[Date]=_max,"MaxDate",[Date]&"")
Thanks