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"
}
)
)
)
)
)- Anonymous5 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.
- Anonymous5 years agoNot applicable
When I try to do this DAX command again, I am getting a return with blank rows? Any help?
- Anonymous5 years agoNot applicable
Without any info on/data about/knowledge of the environment where this happens? I'm very sorry but I can't give you any advice. I'm not a fortune-teller 🙂