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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors