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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 45 | |
| 33 | |
| 24 | |
| 23 |