0) Summary
- Issue: The geo type, zip code, may exist in multiple countries
- Suggestion: Create a calculated field which adds a country value
1) Issue
The problem occurs as Google Data Studio would need to "guess" what the country is. This is because a zip code, while unique to a specific country may not be unique when considering all countries in the world (this also applies to other geo types such as city).
2) Suggestion
Explicitly stating the country would ensure that that values are specific.
This can be achieved using the format:
Geo Field, Country
The values would look like:
06510, United States
A CONCAT of the Zip Code field (titled zipcode-1) with a , followed by the Country (United States) would display the Geo values as expected:
CONCAT(zipcode-1, ", ", "United States")
NOTE: In this specific case, the country has to be manually stated within "" as there is no country field, however, if there is a Country field, use: CONCAT(Geo Field, ", ", Country)
2.2) Type
Geo > Postal Code
The output will look like:
| zipcode-1 |
Geo |
| 06510 |
06510, United States |
| 06511 |
06511, United States |
| 06512 |
06512, United States |
| 06513 |
06513, United States |
| 06515 |
06515, United States |
| 06519 |
06519, United States |
| 06514 |
06514, United States |
Publicly editable Google Data Studio report (embedded Google Sheets data source) and a GIF to elaborate:
