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

Day after Slicer date selection

Hello,

 

I feel like this particular issue is likely really simple but I can't find any good examples. 

 

I have a really simple report with a date slicer and two visuals. I need one visual to display the data from the selected slicer date and the other visual to display +1 day from the selected slicer date. This would be easy if the date selection was constant to use relative dates but the user may want to select a date from last week and then the relative dates stops working as intended. 

 

Any ideas?

1 ACCEPTED SOLUTION
jsaunders_zero9
Responsive Resident
Responsive Resident

Hi jarnolky,

 

You could also use DATEADD function

 

Example 

SalesTotal = SUM('SalesData'[Sales])

SalesTotalNextDay = CALCULATE([SalesTotal],DATEADD(_Calendar[Date],1,DAY))

 

jsaunders_zero9_0-1651027796589.png

Hope that helps.

 

Thank you

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@amitchandak @jsaunders_zero9 Thank you so much! I knew I was over thinking this one, I really appreciate it!

jsaunders_zero9
Responsive Resident
Responsive Resident

Hi jarnolky,

 

You could also use DATEADD function

 

Example 

SalesTotal = SUM('SalesData'[Sales])

SalesTotalNextDay = CALCULATE([SalesTotal],DATEADD(_Calendar[Date],1,DAY))

 

jsaunders_zero9_0-1651027796589.png

Hope that helps.

 

Thank you

 

 

amitchandak
Super User
Super User

@Anonymous , if you need next day

 

example with date table and time intelligence

 

Next Day = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])+1))
Next Day = CALCULATE(sum('Table'[Qty]), nextday('Date'[Date]))

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.