Forum Discussion
Data slicer between
- 3 years ago
Hi Luden76
Thanks for reaching out to us.
The between type slicer is designed this way.
As a workaround, you can use measure to interfere with the date range obtained from the slicer. For example,
when you select date range in between type slicer, use the measure below,
Measure = var _start=MINX(ALLSELECTED('Calendar'),[Date]) var _end=MAXX(ALLSELECTED('Calendar'),[Date]) var _t=FILTER('Table','Table'[date]>=_start && 'Table'[date]<=_end) return COUNTX(_t,[date])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.
Hi Luden76
Thanks for reaching out to us.
The between type slicer is designed this way.
As a workaround, you can use measure to interfere with the date range obtained from the slicer. For example,
when you select date range in between type slicer, use the measure below,
Measure =
var _start=MINX(ALLSELECTED('Calendar'),[Date])
var _end=MAXX(ALLSELECTED('Calendar'),[Date])
var _t=FILTER('Table','Table'[date]>=_start && 'Table'[date]<=_end)
return COUNTX(_t,[date])
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.