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.
Hello,
I am trying to filter and only sum up values where the Measure>=3. Here is my measure:
Solved! Go to Solution.
Hi,
One way to do it is, to first create a calculated table to hold full names and sum of values, then use "Filter" to filter out summed values => 3 , then sum the values in the filtered table to get the value you need.
SumInOut =
VAR AggTable =
FILTER (
SUMMARIZE ( 'Table', 'Table'[Names], "SumVal", SUM ( 'Table'[val] ) ),
[SumVal] >= 3
)
VAR result =
CALCULATE ( SUM ( 'Table'[val] ), AggTable )
RETURN
result
Regards,
Haitham
Hi,
One way to do it is, to first create a calculated table to hold full names and sum of values, then use "Filter" to filter out summed values => 3 , then sum the values in the filtered table to get the value you need.
SumInOut =
VAR AggTable =
FILTER (
SUMMARIZE ( 'Table', 'Table'[Names], "SumVal", SUM ( 'Table'[val] ) ),
[SumVal] >= 3
)
VAR result =
CALCULATE ( SUM ( 'Table'[val] ), AggTable )
RETURN
result
Regards,
Haitham
would this work?
SumInOut = SUMX(Filter( NorthtecPunchOrigin, NorthtecPunchOrigin[SumInOut] <=3), [SumInOut])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |