Forum Discussion
Anonymous
5 years agoNot applicable
Help needed with DAX
So i have a data table with different project submitting weekly status report. I want to count active projects (which is anything other than not-started, and completed) and display this measure on a ...
- Anonymous5 years ago
[Active Project Count] = COUNTROWS( FILTER( DISTINCT( T[Project] ), ISEMPTY( CALCULATETABLE( T, KEEPFILTERS( T[Status] in { "not started", "completed" } ) ) ) ) )
Anonymous
5 years agoNot applicable
[Active Project Count] =
CALCULATE(
DISTINCTCOUNT( T[Project] ),
KEEPFILTERS(
not T[Status] in {
"not started",
"completed"
}
)
)