Create a Map in Power BI

Power BI Maps help you to visualize the geological data. Let us see the step-by-step approach to Creating a Map with a practical example.

For the Map demo, we used the World Population Excel data file that we downloaded from the Data bank. Please visit Connect to Excel to learn the steps included in working with Excel.

How to Create a Map in Power BI

Dropping any geographic data to the Canvas area automatically create a Map. For instance, let me drag and drop the Country Names available in the world Population table to the Canvas.

From the following screenshot, you can notice that the desktop has created a map for you.

Create a Map in Power BI 1

Next, Drag and Release the Population of the year 2016 from the Power BI Fields region to the Legend section.

Add Year to Legend 2

Hover over any bubble to see the country it represents and the country’s population.

Create a Map in Power BI 3

The Second approach to Creating a Map

First, under the Visualization section, click on the Map. It automatically creates with model data, as we have shown in the below screenshot.

Add Fields to Location, Latitude, and Longitude 4

To add data to a Map in Power BI, we should add the required fields:

  • Location: Please provide the Geological Column name that draws the Bubbles.
  • Legend: Column name that sub-divides the data in the Location section. Something similar to Country, Region, Territory, or Continent
  • Latitude and Longitude: If the data contains the latitude and longitude information, you can use them to retrieve the exact location.
  • Size: Define the Column that describes the Bubble size.
  • Color Saturation: Any Numeric data that decides the map bubbles color.

Let me drag the State from the Fields area to the Location Section. You can achieve this by dragging the State column to the Location section or checkmark the State column.

Add State to Location 5

Next, add the Sales Amount to the Size section. Now, you recognize the size difference in the bubbles.

Add Measure Field to Size 6

Next, let me add Country Name to the Tooltip section. After this, if you hover over any bubble, show you the information about the Country, State, and Sales Amount.

Add Tooltip 7

Let me add Country Name to the Legend section. As you can see, the color of bubbles is changed based on the country they represent.

View State, Country, Sales details in Tooltip 8

To demonstrate the Color Saturation section of a Power BI map, we added the Order Quantity to the Color Saturation section. From the below screenshot, the color of each circle has changed as per the Order Quantity. Remember, you can’t use the Legend and Color Saturation at the same time.

Add Orders Measures to Color Saturation 9

Let me do some quick formatting to this Map.

NOTE: I suggest you refer Formatting article to understand the formatting options.

Create a Map in Power BI 10