Forum Discussion
Anonymous
5 years agoNot applicable
Count with multiple criteria
I can see this question has been asked before. Somehow it's not working. I want to count from "open/closed status" and "phase" Open/close status criteria = "open" and "closed" Phase = "4 - Deli...
- 5 years ago
Anonymous
= CALCULATE( COUNTROWS(Project), Project[open/closed Status] IN {"Open", "Closed"}, Project[Phase] = "4 - Delivery", Project[Est. Execution/Project start date] >= DATEVALUE("01-01-2020"), Project[Est. Execution/Project start date] <= DATEVALUE("31-12-2020") )You can also use DATE(2021,12,31) instead of DATEVALUE("31-12-2020")
Please accept the solution when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
AlB
Community Champion
5 years agoHi Anonymous
The condition is not completely clear. Try:
CALCULATE (
COUNTROWS ( Project ),
Project[open/closed Status] IN { "open", "closed" },
Project[Phase] = "4 - Delivery"
)
or
CALCULATE (
COUNTROWS ( Project ),
Project[open/closed Status] = "closed",
Project[Phase] = "4 - Delivery"
)
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |