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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
joew98
Frequent Visitor

TODAY() date changing with date slicer?

Hi,

 

I have a set of measures that are based around the TODAY() function. E.g. using TODAY() - 7 to find data for a week ago to display a % change for the previous week to date. If I added a date slicer with a list of all previous Sundays to look back at historical week-by-week data, would I be able to format my measures so that the value taken in the TODAY() function is that of the date in the slicer, rather than the actual present day?

 

Thanks for any help.

2 REPLIES 2
iceparrot
Advocate II
Advocate II

Hey @joew98 , 

as TODAY() is a function which always returns todays date you cannot change its value. 

Howver I'd suggest you to implement a date dimension table which provides you different dates.

If you want to do analysis like "Show me data from last Saturday till today." then I'd additionally implement a date-range dimension table as well. 

 

Let me know if this helps you or if you need further information.

Thanks, could you explain a bit about a date-range dimension table and how I'd go about implementing that?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors