Forum Discussion
vmaximo
5 years agoNew Member
COUNTROWS based on multiple critera
I am struggling to get a result for COUNTROWS based on multiple critera. From the table DFUP I am trying to filter all Status with a grade of either “delay” and “on time” to give me the count of ...
- 5 years ago
vmaximo , It need to || not && (and)
try like
CALCULATE( COUNTROWS(DFUP), FILTER( ALL(DFUP[Status]), DFUP[Status] In{ "Delay" ,"On Time" }))
or
CALCULATE( COUNTROWS(DFUP), FILTER( (DFUP[Status]), DFUP[Status] In{ "Delay" ,"On Time" }))
amitchandak
Super User
5 years agovmaximo , It need to || not && (and)
try like
CALCULATE( COUNTROWS(DFUP), FILTER( ALL(DFUP[Status]), DFUP[Status] In{ "Delay" ,"On Time" }))
or
CALCULATE( COUNTROWS(DFUP), FILTER( (DFUP[Status]), DFUP[Status] In{ "Delay" ,"On Time" }))