Forum Discussion
How to create a FROM TO slicer
- 4 years ago
NMERCIER , When you use date, You can change slicer to Range slicer and use that as range
you can get two date likes
//only needed if table is not joined, else it will filter range of joined table
measure=
var _max = maxx(allselected(Date), Date[Year])
var _min = minx(allselected(Date), Date[Year])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
return
NMERCIER , When you use date, You can change slicer to Range slicer and use that as range
you can get two date likes
//only needed if table is not joined, else it will filter range of joined table
measure=
var _max = maxx(allselected(Date), Date[Year])
var _min = minx(allselected(Date), Date[Year])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))
return
- NMERCIER4 years agoRegular Visitor
Thank you so much amitchandak