Forum Discussion

RichOB's avatar
RichOB
Post Partisan
1 year ago
Solved

Simple Count Measure

Hi, I have student housing and need the count of students who have moved on. What measure will count the "1" in the Moved_On column please?

 

LocationStudentMoved_On
Bristol10
Bristol21
Bristol30
Bristol40
Bristol51
London61
London71
London81
London91


Thanks

  • hello RichOB 

     

    the following measure should help you

     

    MovedOnCount =
    CALCULATE(
    COUNTROWS('YourTableName'), 
    'YourTableName'[Moved_On] = 1
    )

3 Replies

  • hello RichOB 

     

    the following measure should help you

     

    MovedOnCount =
    CALCULATE(
    COUNTROWS('YourTableName'), 
    'YourTableName'[Moved_On] = 1
    )

  • Hello RichOB 

     

    You can use simple dax

     

    count(student)

    if I am missing someting please specify the condition to count

     

    Thanks,
     Pankaj Namekar | LinkedIn

    If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.