Forum Discussion

hellyLoft's avatar
hellyLoft
Frequent Visitor
6 years ago
Solved

Countrows les then and more than a value

Hello, I am trying to create a measure which will count the number of rows in a column that have a number of less than 36 and more than 36 (but not any that are 36).   MidYearAdm = CALCULATE(COUNT...
  • amitchandak's avatar
    6 years ago

    hellyLoft , Try like

    MidYearAdm = CALCULATE(COUNTROWS('Pupil'[week number]),filter(Pupil,Pupil[week number] <36 || Pupil[week number] >36 ))