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] =
COUNTROWS(
FILTER(
DISTINCT( T[Project] ),
ISEMPTY(
CALCULATETABLE(
T,
KEEPFILTERS(
T[Status] in {
"not started",
"completed"
}
)
)
)
)
)Anonymous
5 years agoNot applicable
For some reason I am not getting the correct answer using this code above.
- Anonymous5 years agoNot applicable
That's not informative enough. What precisely is wrong and what you expect? This is the info you have to supply for me to be able to troubleshoot.