Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I want to count distinctcount on personid that has true in another column.
Really scratching my head right now. Anyone can give me some support in this?
| PersonID | Active |
| 4505010101 | True |
| 4709010101 |
Hi @MickeLearnPBI possible solution, based on simple data sample from you and my add of two rows:
Firstly, create measure as following (replace your table name for Mytable)
Output
Proud to be a Super User!
Maybe the report can help to understand me?
Shared with you - OneDrive (live.com)
I still get the number 8 in my data, that is 6 with the value null, and 2 with true. But with this the number change while choosing another year (above is not my fully report). Do you have any idea?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |