Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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])
User | Count |
---|---|
121 | |
72 | |
71 | |
57 | |
50 |
User | Count |
---|---|
167 | |
83 | |
68 | |
65 | |
55 |