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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
tester12
Frequent Visitor

Filter for date slicer (date from and till in the same year)

Hi,

 

i have a date slicer and want to ensure that users only can select a period of time within the same year.

So there is the filter "show items where the value is in this year". That's great, but restricts the report period to the current year. What i need is to give users the option to swith to another year and select e.g. a 2023 date priod - 15.02.2023 to 18.06.2023 as long as the period does not affect more than one year. 

 

Is there a way to do this?

 

Thank you very much in advance.

4 REPLIES 4
Anonymous
Not applicable

Hi @tester12 ,

Thanks for @Anonymous 's sharing.

Please try to put the year column into the slicer.

vrongtiepmsft_0-1712026230569.png

This will only filter within the same year.

 

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Hi,

 

With "Year" column in the slicer one can't use the "Between" Slicer Style.  You find only vertical list or dropdown style. So users would have to click manually the days they want to filter, they won't have the option to choose from-date and till-date

 

This is I want to allow:

 

tester12_0-1712825501006.png

 

This is I want to allow:

 

tester12_1-1712825532320.png

 

 

This is I want to allow:

 

tester12_2-1712825594457.png

 

 

This is what i DON't want to allow:

 

tester12_3-1712825643469.png

 

 

tester12
Frequent Visitor

But this won't avoid users to select time periods that extents one calender year?

When i restrict the year to 2022, 2023, 2024, users can select 01.05.2022 - 15.03.2024, this is not what i need.

Anonymous
Not applicable

You can add a page or report level filter and specify the years and Lock the filter so the user can not change.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.