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
DavidSasse
Regular Visitor

Time Travel via a Slicer

Hi,

I've been trying to work out a simple way to add a number of days to Today() via a slicer to effectively travel forward in time.

I have a bunch of calculations comparing dates based on a calculated column containing Today() and want to be able to move forward in time to show the impact if nothing else changes.  In my simple head it would be Today()+[DaysToAdd} ; where [DaysToAdd] is an unrelated table/column ranging from 1-1825 for example, but I cannot find a way to add the two column together as they are unrelated.

 

Any ideas would be a great help.

 

Thanks

1 ACCEPTED SOLUTION

Hi @DavidSasse 

If you are using slicer ( set as between ) to adjust it then you can adjust it from the right, or you can use a ( list ) settings for your slicer to select individual nuber.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @DavidSasse 

The simple way would be.

Measure 2 = TODAY() + MAX( YourTable[DaysToAdd] )
Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski



Thanks for the quick reply Mariusz, but althought it enables the calculation to work the answer seems to be always the same regardsless of the slicer entry.  I guess this is because of using the MAX function.

 

Any other ideas?

Hi @DavidSasse 

If you are using slicer ( set as between ) to adjust it then you can adjust it from the right, or you can use a ( list ) settings for your slicer to select individual nuber.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.