Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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"))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |