Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have created a geographic map in Power BI using country, city, and postal code. Now, I want to segment the map based on provinces, but this field does not exist in my dataset. I would like to know if there is a way to calculate the province field from the other fields using an API or other methods.
I considered collecting data (city, province) and then merging it, using the city as a common field, but I found that there are many countries so multiple cities .
Hi @SoukainaELMIRI ,
i think this type of request change from different country.
Otherwise i think you need to download a complete dataset where this information is present in.
For example in Italy you can download the entire dataset of all the city of the country with its attribute like province.
Try to see on the internet if it is present a similar dataset with the infomation you are looking for.
Then you can import and do the merge to add this attribute to your actual dataset.
I hope i'll help you.
Ciao
Thank you so much , so there is no automatic solution using bing map API.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
67 | |
51 | |
39 | |
26 |
User | Count |
---|---|
87 | |
54 | |
45 | |
40 | |
36 |