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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors