Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
87 | |
85 | |
68 | |
67 | |
64 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |