Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I've got a dataset with a column containing the postcode of each recorded user. I want to do a count of each unique postcode value so that I can map that to a map visualisation with the Count being the value field against the postcode. When I tried to use the Pivot Column function in query editor, it appears to just give me rows of 0s as opposed to an aggregate count score against each unique postcode.
I'd recommend doing this count using a measure and make use of the function DISTINCTCOUNT
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |