We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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?
| Location | Student | Moved_On |
| Bristol | 1 | 0 |
| Bristol | 2 | 1 |
| Bristol | 3 | 0 |
| Bristol | 4 | 0 |
| Bristol | 5 | 1 |
| London | 6 | 1 |
| London | 7 | 1 |
| London | 8 | 1 |
| London | 9 | 1 |
Thanks
Solved! Go to Solution.
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.
hello @RichOB
the following measure should help you
MovedOnCount =
CALCULATE(
COUNTROWS('YourTableName'),
'YourTableName'[Moved_On] = 1
)
Sum( table[moved_on])
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 41 | |
| 34 | |
| 24 |