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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RichOB
Post Partisan
Post Partisan

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.