Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
RichOB
Post Patron
Post Patron

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

1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

hello @RichOB 

 

the following measure should help you

 

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

View solution in original post

3 REPLIES 3
pankajnamekar25
Super User
Super User

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.

Cookistador
Super User
Super User

hello @RichOB 

 

the following measure should help you

 

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

Deku
Super User
Super User

Sum( table[moved_on])


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors