Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Luden76
Frequent Visitor

Data slicer between

Hi guys,

 

I have a date slicer. When I choose list, the date starts from below, which is correct because I have another filter applied to the report.

Luden76_0-1663695424552.png

However, when I choose between option, it gives me the whole date range instead of the filtered date range:

Luden76_1-1663695477055.png

Why?

I only have one table in this report.

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

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])

vxiaotang_0-1664354259958.png

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.

View solution in original post

1 REPLY 1
v-xiaotang
Community Support
Community Support

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])

vxiaotang_0-1664354259958.png

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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors