Forum Discussion
Rth
3 years agoNew Member
Count with condition
Hi everyone, would anyone be able to help with a DAX calculation for the following? I have a table including Name of the Project (projects are recurring) and Amount of Hours as columns. Now I wo...
- 3 years ago
Hi Rth ,
You could try below code:-
m = VAR _calc = FILTER ( SUMMARIZE ( 'Table (5)', 'Table (5)'[Name of Project], "_SUM", SUM ( 'Table (5)'[Column1] ) ), [_SUM] >= 20 ) RETURN COUNTROWS ( _calc )
Samarth_18
Community Champion
3 years agoHi Rth ,
You could try below code:-
m =
VAR _calc =
FILTER (
SUMMARIZE (
'Table (5)',
'Table (5)'[Name of Project],
"_SUM", SUM ( 'Table (5)'[Column1] )
),
[_SUM] >= 20
)
RETURN
COUNTROWS ( _calc )