Craigc3814
Board Regular
- Joined
- Mar 7, 2016
- Messages
- 217
I am working on this formula (sorry for the format). I need the ability to count multiple P6Projects[TASKNAME] I am pretty sure I need to incorporate Filter into the measure but I am unsure of how to do so, does it come after the (DISTINCTCOUNT('P6Projects'[PROJECTID])
I need to count a task name called Operational ready, and WWIP Operation Ready as well as Construction Substantial Completion. This whole measure is due to the fact hat if I just use filters on the page blank returns rather than 0
SC count = if(isblank(CALCULATE(DISTINCTCOUNT('P6Projects'[PROJECTID]),'P6Projects'[TASKNAME]="Construction Substantial Completion")),0,CALCULATE(DISTINCTCOUNT('P6Projects'[PROJECTID]),'P6Projects'[TASKNAME]="Construction Substantial Completion"))
I need to count a task name called Operational ready, and WWIP Operation Ready as well as Construction Substantial Completion. This whole measure is due to the fact hat if I just use filters on the page blank returns rather than 0
SC count = if(isblank(CALCULATE(DISTINCTCOUNT('P6Projects'[PROJECTID]),'P6Projects'[TASKNAME]="Construction Substantial Completion")),0,CALCULATE(DISTINCTCOUNT('P6Projects'[PROJECTID]),'P6Projects'[TASKNAME]="Construction Substantial Completion"))