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
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 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