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
Anonymous
Not applicable

Fake date

I have a show case report that was built last year for a customer. 

 

I no longer have access to the live data (for obvious reasons) but would still like to show-case this report as a demo. 

 

However, the report is built using many relative date filters and formulas (DAX, M, and visual filters). So using the current date most of the report is broken. 

 

Is there a way to 'fake' the date the report serve ruses so I can manually tell PBI report service that it is 2021 (or any date I choose)?

3 REPLIES 3
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

send an example of you dax formula to point out the way for you to have an idea, basically you need to replace any query or formula tha use internel dates like today() etc etc for hard parameters like 

 

calculate(sum(table 1[values]), year(today()) = table 1[year]) to something like

 

calculate(sum(table 1[values]), table 1[year] = "2021")





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Anonymous
Not applicable

That's what I was fearing you'd say! 😀

 

Before I go down this route, there is no method you are aware of that I can force change the date on the server? 

Hi @Anonymous ,

 

The Power BI server’s date and time is based on UTC, and Relative Date slicer filters data by the date relative to today’s date. So currently we can't change the current date in the Service. I think you have to modify your measures and date slicers in the way @StefanoGrimaldi does.

 

Please submit your ideas here.

https://ideas.powerbi.com/ideas/ 

 

Best Regards,
Winniz

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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