Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm new to PowerBI and for the life of me I can't seem to find the answer for this.
I'm looking for a count of all "passes" and "fails" by studentID.
I would like to display the results in a stacked column chart. I've attempted measures, but they all return the same result for all the students, whereas I want the unique results per student.
STUDENT-ID RESULT
student01 pass
student01 pass
student01 fail
student02 pass
student02 pass
Any help would be greatly appreciated!
Solved! Go to Solution.
should be something like that:
new_measure_name=CALCULATE(count([RESULT]),RESULT="pass")
should be something like that:
new_measure_name=CALCULATE(count([RESULT]),RESULT="pass")
That does it! Thanks for the fast reply, that was quick!!!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |