Skip to main content

Power BI Maps Tips and Tricks

 


If you have geographical data in your data source, using a map visual at some point in your Power BI report is almost a given.  Sometimes, however, the map doesn’t produce the results you were looking for.  For example, Fort Wainwright, Alaska might show up in India or not show up at all.  If you have ever had trouble with your maps not displaying what you know is right let me give you a few tips and tricks.

 1)      When you use a map you will have to change the category settings of your column in order for Power BI to know what kind of geography this column represents.  Is it a zip code, a city, a city and a state, etc.?

2)      If you use abbreviations for your states, countries, territories, etc. make sure Power BI doesn’t have to guess what part of the world is using that abbreviation.   To avoid confusion, you want to have in your data source the full name of your state, country, territory, etc.

3)   For the best results, if you can have two columns one with latitude and one with longitude then you will never get ambiguous results in your maps.

 

In this video, I tackle tips 1 and 2 from above and demonstrate how to change the data categories of your geographical columns to get your map started to show results.  Then to make it better, I show how to do add in a column of full state name even if your original data didn’t have a column with the full state name and ONLY had the state abbreviations.  




If you are interested in tip 3 of finding a way to insert latitude and longitude information for your geographical data check out this video



Comments

Popular posts from this blog

The Power of CALCULATE in Power BI

Last week in my blog and video I discussed how Power BI could have made my life as a teacher much easier.  It is not that Power BI can do things that I could not on my own.  It is the fact that Power BI could have saved me so much time.   This led me to some thoughts and questions.   How could I have impacted the students more in the classroom with this extra time?  Would teachers who were not analyzing student data due to time constraints now start?  How can I make the data tell my students a story that gives them an accurate picture of their progress?   That last question is what leads to this week’s blog.   Many times the metrics (which is just a fancy word for "numbers") of what we want to show are easy to do by hand with a basic math background.  Although easy, it can be very time consuming when dealing with different groups of data: like 6 periods of students instead of 1 period. When we want to do these calculations quickl...

Relating "Related Tables" to Baseball because I Miss Sports

I miss sports. In particular, I miss baseball. Between learning more Power BI functions and the ins-and-outs of DAX, I've turned to Netflix to fill the deep caverns left in my soul since baseball season has been postponed. And as a result, I've thought more about tigers and big cats more than I ever have in my life. I know ALL about Carol Baskins and am fully on board for a spin-off centering on locating her lost husband. I've googled "is it really legal to own a tiger in a residential area?" Without baseball in April, I am barely hanging in there (kinda like Joe Exotic's eyebrow ring). So, I am filling the sports-sized hole by using baseball stats in Power BI to demonstrate pulling data from multiple tables and consolidating it into one table.  Some of the data we want to consolidate also has to have some aggregations (which is fancy for "calculations") performed on it.  In this demo I will attempt to break down what is really going on ...

The Teacher Becomes the Student

My wife asked how my first day was going so I sent her this selfie. Only a picture could capture it.  First, let me tell you that this won’t be your typical Power BI or tech blog that you usually see. Let me set the scene. It was a year and a half ago when I got lucky enough to be introduced to Brian Knight, the CEO of Pragmatic Works over lunch. He had heard from a mutual friend that I was looking to make a career move after teaching Algebra for the past 15 years. Brian started telling me about the company and all the different facets it encompasses. From training, sales, consulting, and app development. Mind you at this time I had never heard of Microsoft Power BI, SQL Server, Microsoft Azure, or have any experience with coding. He told me an opportunity at his company may present itself in the future where I could transfer over my teaching skills into the training side of the above-mentioned programs. I immediately got to work with their On-Demand Learning system to ...