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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
djurecic_1
Frequent Visitor

Sum with non consecutive date period selection

Let’s say you want to use the slicer below for a date range. How would you calculate values based on this slicer if the dates are not consecutive? Most if not all of the time intelligence functions require consecutive dates. Any ideas?

 

I know how to get the selected values from the slicer with no problem, just not how to use them to get the sum of other fields for the time period selected.

Date Range non consecutive.PNG

 

1 ACCEPTED SOLUTION
AntrikshSharma
Super User
Super User

@djurecic_1  As discussed use the attached file.

View solution in original post

4 REPLIES 4
AntrikshSharma
Super User
Super User

@djurecic_1  As discussed use the attached file.

Thank you again!

daxer-almighty
Solution Sage
Solution Sage

Why would you want to calculate over non-contiguous periods of time? Does it make any sense?

I agree that it is unusual. The report users have asked for this ability.

 

I would love to have some other options available such as standard slicer with date value that allows for showing only month and year but not day, or allows for showing only 1 day per month. Even if you have a date table with 1 day per month, the slicer shows every day in the month.

 

Another option might be timeline visual, but there are not a lot of customization options for that either and it requires a lot of vertical space on the page. 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.