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
AlexS2023
Helper I
Helper I

Date Slicer: Set Default Range Beyond Current Data / Range Changes Once Published

Hello,

 

Looking for some help.

 

We collect records on a daily basis. And have a published report using a date slicer set to 'between' so users can choose the date range. The problem comes when viewing the most recent records; users have to adjust the slicer every time, because the published report only goes up to whatever the latest record was on the day it was published.

 

Is it possible to either:

A) Set the End Date of the range to a date beyond that of the latest record? or,

B) Set a default (variable) value for the End Date, so it will at least include the latest record by default?

 

Note that for A I found I can manually enter a date beyond the last record, but it reverts back once I hit publish 😞

 

Any ideas? Thanks in advance 🙂

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Are you using a date table or just the date field from your fact table? If you create a date table that has future dates you should be good to go. SQLBI has a great date ref table: Reference Date Table in DAX and Power BI - SQLBI

DAX Date Template - SQLBI





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
v-kongfanf-msft
Community Support
Community Support

Hi @AlexS2023 ,

 

Did audregyerred reply solve your problem? If so, please mark it as the correct solution, and point out if the problem persists.

 

Best Regards,
Adamk Kong

Ritaf1983
Super User
Super User

Hi @AlexS2023 
Please refer to my answer in the linked post, it includes pbix with the example :

https://community.fabric.microsoft.com/t5/Desktop/PowerBI-Date-slicer-not-extending-to-the-latest-da...

 

If my answer was helpful please give me a Kudos and accept as a Solution.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
audreygerred
Super User
Super User

Are you using a date table or just the date field from your fact table? If you create a date table that has future dates you should be good to go. SQLBI has a great date ref table: Reference Date Table in DAX and Power BI - SQLBI

DAX Date Template - SQLBI





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.