Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
| User | Count |
|---|---|
| 52 | |
| 41 | |
| 32 | |
| 15 | |
| 13 |
| User | Count |
|---|---|
| 84 | |
| 72 | |
| 37 | |
| 27 | |
| 24 |