Forum Discussion
Anonymous
4 years agoNot applicable
default value to be max(date) automatically selected
hi team,
execution date changes every day, i need slicer to have always max(date) for that table automatically selected, please suggest some solution
Hi Anonymous
Some ideas,
(1) use relative date,
(2) use an auxiliary table
Start = MINX(ALLSELECTED('DATE'),'DATE'[Date])End = var _end= MAXX(ALLSELECTED('DATE'),'DATE'[Date]) return IF(SELECTEDVALUE('Table'[Value])="DATE", _end,TODAY())Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- v-xiaotang
Community Support
Hi Anonymous
Some ideas,
(1) use relative date,
(2) use an auxiliary table
Start = MINX(ALLSELECTED('DATE'),'DATE'[Date])End = var _end= MAXX(ALLSELECTED('DATE'),'DATE'[Date]) return IF(SELECTEDVALUE('Table'[Value])="DATE", _end,TODAY())Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.