Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 7 | |
| 7 |