This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
If I have some data like this.
| Name | District |
| AA | UX01 |
| AA | UX02 |
| BB | UX01 |
| BB | UX01 |
| AA | Ux02 |
| AA | Ux02 |
| AA | Ux02 |
| BB | UX01 |
| BB | UX01 |
| AA | UX01 |
| AA | UX01 |
All I want to do, is I want to count Name and put it into District, for example,
AA=7 and AA in Ux01 = 3 and AA in Ux02 = 4.
BB=4 and AA in Ux01 = 4 without BB in Ux02.
Please, help me to tell the DAX that I can finish it.
Thank you all.
Solved! Go to Solution.
Why would you need DAX to do this? Just put it into a matrix visual, just need a simple countrows measure for the values
Why would you need DAX to do this? Just put it into a matrix visual, just need a simple countrows measure for the values
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |