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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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