Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Elrobinho
Regular Visitor

Region modeling

Hi everyone !

 

 

I've been stuck with a problem for days and can't find the solution, please help me 🙂 

 

I have a (large amount of) data pulled from a Sharepoint, showing among other things regions as follows: AMS, EMEA, APJ, WW

 

I would like to map that on Power BI, but "AMS" doesn't mean anything for Power BI or Bing. How can I model it? I have thought about the following paths:

 

- SWITCH function in a new column, but how should I call these regions? "Americas" also doesn't work for example

- Group many regions in one: I'm not sure of how to do that. I've tried to create a column South America and a column North America but don't know how to group them afterwards

- Create a continent and then put regions in it, somehow

 

Yours thankfully.

1 ACCEPTED SOLUTION

Okay.... I'm trying to attach the pbix file but I can't see an attachment option! Aren't we meant to be able to attach files? 

 

Let me know if you can't access the file through this link. 

https://drive.google.com/file/d/18si89ZYVslOeMiKfOVHlP9aqxYpksPoO/view?usp=sharing

 

After my response yesterday I  actually came up with something I think is better which is using google maps to find out the  longitude and latitude of the point in the map where you want the circle to appear and creating a table that has that information. Then link that table to your fact table and off you go!

 

Both examples are in the PBIX file...

View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Perhaps you have a list of countries and their corresponding regions. You can map out those countries instead.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thank you for your answers, but I can't make it work with my data... Would you be able to give me steps to follow to get what you have on your screen? This would be great !

BR.

Okay.... I'm trying to attach the pbix file but I can't see an attachment option! Aren't we meant to be able to attach files? 

 

Let me know if you can't access the file through this link. 

https://drive.google.com/file/d/18si89ZYVslOeMiKfOVHlP9aqxYpksPoO/view?usp=sharing

 

After my response yesterday I  actually came up with something I think is better which is using google maps to find out the  longitude and latitude of the point in the map where you want the circle to appear and creating a table that has that information. Then link that table to your fact table and off you go!

 

Both examples are in the PBIX file...

That is amazing ! I'll try it when I'm back from vacation but it looks like it's exactly what I'm looking for thank you so much

Hi, I have tried it and indeed, it works perfectly ! I've put bigger bubbles and it does the trick 🙂 Thank you so much

dvstrien
Advocate I
Advocate I

I don't think you can map this with the maps visualisation, unless you're able to find out exactly what Bing calls the regions that make up "your" region names (EMEA, APJ, AMS etc). Then you need to add a table to your model that "translates" your region names to the ones Bing uses. 

 

edit - Actually, you can do it with the map visualisation, I just had a play and came up with this: 

2019-12-17_13h56_48.png

 

 

You can maybe use the custom visual called Synoptic Panel, which comes with an online designer tool which allows you to create areas on an image (i.e. a map of the world) and give them a name, those names should correspond with your region names. 

 

Alternatively, have a look into custom shape maps (shap maps are a preview feature that needs to be enabled). There are free maps available on the internet (koordinates.com has one available for the regions of the world) but you often have to tidy them up using mapshaper.org before you can use them in Power BI and unless you can find or create one that uses your region names, your model still needs to have a table that "translates" the region names of the map file to the names you have in your data.

Greg_Deckler
Super User
Super User

There is the ability to create groups in Power BI. If I remember correctly, not sitting at my computer, right click a column and choose New Group.

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.