Forum Discussion
romovaro
Responsive Resident
4 years agoCount 2 requirements same column
Hi Power BI community I need your help. I need to count how many customers (using the CID Column) meet these 2 requirements that are in the same column (Task Column): TaskColumn: IPM HAndOFF ...
- 4 years ago
Try this:-
Tasks IPM HandOff & Closed = VAR result = CALCULATE ( DISTINCTCOUNT( CELERGO_12062021V1[CID] ), FILTER ( CELERGO_12062021V1, CELERGO_12062021V1[TASK] IN { "Pre Engagement Process", "IPM HandOff" } && CELERGO_12062021V1[TASK_STATUS] = "Closed" ) ) RETURN IF ( ISBLANK ( result ), 0, result )
romovaro
Responsive Resident
4 years agoThanks Samarth_18.
the formula is counting all the customers that has one of the 2 requirements?. Is it possible to adapt the formula to show only the ones (CID or Client_Name) that has the 2 requirements, maybe?
IN { "Pre Engagement Process" and "IPM HandOff" }