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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

How to create a dynamic sum filter?

Greetings,

 

I have this problem encoutered recently; the filter is only filtering by single dates, whereas I would like to filter it as a sum of dates: 

AndrejBI_0-1607681567791.png

 

This is the actual chart with all dates combined: 

AndrejBI_1-1607681596753.png

 

This is the granular column I would like to combine together: 

AndrejBI_2-1607681640865.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create numeric range slicer instead of using filter.

Using MAX() and MIN() function to get the start and end range.

Then create a measure like below to get value in this range.

calculate([value],filter(all(table),column>=min(slicervalue)&&column<=max(slicervalue)))

 

Best Regards,

Jay 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create numeric range slicer instead of using filter.

Using MAX() and MIN() function to get the start and end range.

Then create a measure like below to get value in this range.

calculate([value],filter(all(table),column>=min(slicervalue)&&column<=max(slicervalue)))

 

Best Regards,

Jay 

negi007
Community Champion
Community Champion

@Anonymous You can create a column to group multiple items and then use this colum to filter values. Grouping could be month, week, quarter or anything else which can specifiy.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.