Forum Discussion
CharnanK
Helper I
3 years agoSum a Column with filtering via measure
I have a large column which I want to SUM, but only want to SUM those rows with values above 6.01
Please??
2 Replies
- danextian
Super User
Hi CharnanK ,
Please try this:
= CALCULATE ( SUM ( 'table'[column] ), FILTER ( 'table', 'table'[column] > 6.01 ) )If this not what you're looking for, please elaborate your use case, provide a sample data (not an image) and your expected result. This sticky post should serve as a guide: https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/1447523/jump-to/first-unread-message
- Ashish_Mathur
Super User
Hi,
The simple measure can be
Measure = calculate(sum(Data[Total XS Leave weeks]),Data[Total XS Leave weeks]>6)
Hope this helps.