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.
Hi all,
I have a matrix visual created. some of the columns is as below:
| Part No | BAU |
111 | A |
| 222 | A |
| 333 | A |
| 444 | B |
I would like to get a count of the number of part numbers which have BAU as 'A'.
BAU is a measure created.
Any help is appreciated!
Thank you!
Megha
Solved! Go to Solution.
@Anonymous Try:
Measure =
VAR __Table = ADDCOLUMNS(DISTINCT('Table'[Part No]),"__BAU",[BAU])
RETURN
COUNTROWS(FILTER(__Table,[__BAU]="A"))
@Anonymous Try:
Measure =
VAR __Table = ADDCOLUMNS(DISTINCT('Table'[Part No]),"__BAU",[BAU])
RETURN
COUNTROWS(FILTER(__Table,[__BAU]="A"))
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 |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |