Forum Discussion
freemainia
3 years agoHelper I
COUNTIF measure
Hi, I would like to: 1. Count the number of IDs that have a "Yes" in any of the corresponding Train cells (answer = 2) 2. Count the number of IDs that don't have a "Yes", but do have a "Partial...
- 3 years ago
freemainia
3 years agoHelper I
Currently, they are in separate tables.
Ashish_Mathur
3 years agoSuper User
- freemainia3 years agoHelper I
Many thanks Ashish_Mathur.
Seems to be working now, with the slight adjustment of changing:
Measure 3 = COUNTROWS(FILTER(VALUES(Data[ID]),[No count]=3))
toMeasure 3 = COUNTROWS(FILTER(VALUES(Data[ID]),[No count trains]=DISTINCTCOUNT(Data[Project])))Having the value of "3" didn't work when less than 3 projects were selected. I think (hope) the addition of DISTINCTCOUNT(Data[Project]) controls for the number of projects selected.- Ashish_Mathur3 years agoSuper User
You are welcome.