Forum Discussion
freemainia
Helper I
3 years agoCOUNTIF 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
Helper I
3 years agoCurrently, they are in separate tables.
Ashish_Mathur
Super User
3 years ago- freemainia3 years ago
Helper 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 ago
Super User
You are welcome.