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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.