cancel
Showing results for 
Search instead for 
Did you mean: 
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
Community Champion
Community Champion

@djurecic_1  As discussed use the attached file.

View solution in original post

4 REPLIES 4
AntrikshSharma
Community Champion
Community Champion

@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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors