cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors