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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-jayw-msft
Community Support
Community Support

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 

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

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 

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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