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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Date Range Slicer question

Hey all! It's me again.

I've found all kinds of answers for this that almost fit. So, if I'm just not seeing a way to make the existing solutions work, please let me know.

 

I have a data table with info for about 400 days.

I have a dates table with an even wider range of dates (it comes from a SQLServer DB, as its own table).

I would like to have a slicer that gives me access to all 400 days, but that defaults to a date range of the last 30 days. It *should* be able to say that the "end date" of that range is always "today".

 

I can get the date range to be dynamic, for the last 30 days. But, after 30 days "back" I can't select dates.

I can make a dynamic table for dates, that is limited to TODAY()-400, so I have the dynamic part of it, but the slicer shows, by default, all 400 days of data.

 

So. Is there a way to make the slicer show (e.g., 10/1/2022-10/31/2022) even though my data goes back to 2021?

 

Thanks!

1 ACCEPTED SOLUTION

Ditch the slicer. Use visual, page or report level filters. Set them to Relative Date - "Last 30 days".  Allow your users to modify filters. Teach them how to do that.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

So I guess that's where I'm confused. I have a calculated table of the last 400 days.

 

I want all 400 days available in the event the customer needs to look at it. But they need to see ONLY the last 30 days when they first load the report.

 

Anything I do to accomplish seeing only the last 30 days prevents me from looking back beyond 30 days even with the calculated table in the mix. 

so I'm missing that final piece of the puzzle--how do I show only the first 30 days but still allow my customers to choose older dates?

Ditch the slicer. Use visual, page or report level filters. Set them to Relative Date - "Last 30 days".  Allow your users to modify filters. Teach them how to do that.

lbendlin
Super User
Super User

If your data sources are accessed in import mode and refreshed daily then you can add a calculated table that can do that for you.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.