Skip to content

Commit 49139db

Browse files
Merge pull request #204044 from stevemunk/SM-PowerBI-Filled-Map
PowerBI filled map how-to article
2 parents 2f83a44 + 91218be commit 49139db

8 files changed

+155
-0
lines changed
11.5 KB
Loading
52.2 KB
Loading
97.4 KB
Loading
341 KB
Loading
292 KB
Loading
39.1 KB
Loading
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
---
2+
title: Filled map in Azure Maps Power BI Visual
3+
titleSuffix: Microsoft Azure Maps
4+
description: In this article, you'll learn about the Filled map feature in Azure Maps Power BI Visual.
5+
author: stevemunk
6+
ms.author: v-munksteve
7+
ms.date: 04/11/2022
8+
ms.topic: how-to
9+
ms.service: azure-maps
10+
services: azure-maps
11+
---
12+
13+
# Filled map in Azure Maps Power BI Visual (Preview)
14+
15+
Filled maps use varying degrees of shading, tinting or different patterns to provide a visual display that quickly shows differences in values across a geography or region. Showing these relative differences with shading that ranges from light (less-frequent/lower) to dark (more-frequent/more) is a useful way to quickly convey pertinent information to viewers.
16+
17+
<!--
18+
![A screenshot showing a map of America with states colored in teal with varying degrees of shading depending on the amount of sales attained in each state.](media/power-bi-visual/filled-map-us-teal.png)
19+
-->
20+
21+
:::image type="content" source="media/power-bi-visual/filled-map-us-teal.png" lightbox="media/power-bi-visual/filled-map-us-teal.png" alt-text="A screenshot showing a map of America with states colored in varying degrees depending on the amount of sales attained in each.":::
22+
23+
The image above shows an example of a filled map. The map of America shows each state with a different shade that represents the sales by state. A viewer can immediately see that California has the most sales followed by Texas, then Florida.
24+
25+
## When to use a filled map
26+
27+
Filled maps can be a great choice:
28+
29+
* To display quantitative information on a map.
30+
* To show spatial patterns and relationships.
31+
* When your data is standardized.
32+
* When working with socioeconomic data.
33+
* When defined regions are important.
34+
* To get an overview of the distribution across geographic locations.
35+
36+
Some common uses for filled maps include:
37+
38+
* Visualize sales or revenue results by country or state.
39+
* Visualize election results where the color represents the party that won and the shading represent the margin of victory.
40+
* Visualize unemployment rates by region, state or county.
41+
42+
## Prerequisites
43+
44+
This article uses [Sales and Marketing Sample PBIX](https://download.microsoft.com/download/9/7/6/9767913A-29DB-40CF-8944-9AC2BC940C53/Sales%20and%20Marketing%20Sample%20PBIX.pbix) as the data source for demonstration purposes. You can create a new report using this data before continuing if you wish to follow along.
45+
46+
## Filled map settings
47+
48+
There are two places where you can adjust filled maps settings: Build and format visuals. Both are located in the **Visualizations** pane.
49+
50+
### Build visuals
51+
52+
| Setting Name | Description | Setting values |
53+
|--------------|---------------------------------------------------------------------|---------------------------------------------------------------------|
54+
| Shape | Configure fill transparency in a geometry on the map | 0-100% |
55+
| Colors | Use meters or pixels as unit to visualize the data. Default: Pixels | Set colors for different data category or gradient for numeric data.|
56+
| Border | Sets the border color, width and transparency | Color picker<BR>Width 1-10 pixels<BR>Transparency 0-100% |
57+
| Min zoom | Minimum zoom level the layer is visible at. Default: 0 | Integer (0 - 22) |
58+
| Max zoom | Maximum zoom level the layer is visible at. Default: 22 | Integer (0 - 22) |
59+
| Options | Specify the position of the layer relative to other map layers | Drop down menu:<BR>Above labels<BR>Below labels<BR>Below roads |
60+
61+
> [!TIP]
62+
> You can use **Conditional formatting** in the **Colors** setting to set the field that your map is based on, as demonstrated in the [Create a filled map](#create-a-filled-map) section below.
63+
64+
### Format visuals
65+
66+
| Bucket | Description |
67+
|----------------------|-------------------------------------------------------------------------------------------------|
68+
| Location | Geospatial area with a boundary, such as country, state, city, county or postal code. Street and address aren't supported in filled map. |
69+
| Legend | Categorical data that will be used to shade the map. |
70+
| Tool Tips (optional) | Determined the data/columns that would be shown in tool tips |
71+
72+
## Create a filled map
73+
74+
1. From the **Fields** pane, select the **Geo > State** field. Notice that it populates the **Location** field in the **Visualizations** pane.
75+
<!--
76+
![A screenshot showing the selection of the state field from the geo table.](media/power-bi-visual/filled-map-geo-state.png)
77+
-->
78+
79+
:::image type="content" source="media/power-bi-visual/filled-map-geo-state.png" alt-text="A screenshot showing the selection of the state field from the geo table.":::
80+
81+
1. Select **Sales $** from the **SalesFact** table and drag it to the **Tooltips** field in the **Visualizations** pane.
82+
83+
1. In the **Visualizations** pane, select **Format your visual**
84+
85+
1. Set **Filled map** to **On**
86+
<!--
87+
![A screenshot showing the filled maps option in the visualizations pane in the Format your visual view.](media/power-bi-visual/filled-map-visualization-setting.png)
88+
-->
89+
90+
:::image type="content" source="media/power-bi-visual/filled-map-visualization-setting.png" alt-text="A screenshot showing the filled maps option in the visualizations pane in the Format your visual view.":::
91+
92+
1. Select **Filled maps** to expand that section then select **Colors**.
93+
94+
1. Select **Conditional formatting**.
95+
<!--
96+
![A screenshot showing the Conditional formatting button in the colors section.](media/power-bi-visual/filled-map-conditional-formatting.png)
97+
-->
98+
99+
:::image type="content" source="media/power-bi-visual/filled-map-conditional-formatting.png" alt-text="A screenshot showing the Conditional formatting button in the colors section.":::
100+
101+
1. The **Default color - Filled map** dialog should appear, select the **What field should we base this on?** Drop down, then select **Sales $** from the **SalesFact** table.
102+
<!--
103+
![A screenshot showing Default color - Filled map dialog box with sales selected from the What field should we base this on? Drop down.](media/power-bi-visual/filled-map-sales.png)
104+
-->
105+
106+
:::image type="content" source="media/power-bi-visual/filled-map-sales.png" lightbox="media/power-bi-visual/filled-map-sales.png" alt-text="A screenshot showing Default color - Filled map dialog box with sales selected from the What field should we base this on? Drop down.":::
107+
108+
1. Set the **Minimum** color to white then select the **OK** button.
109+
110+
> The map should appear with varying degrees of shading depicting the relative sales. Since this data only includes numbers for the continental United States, you can filter out Alaska if you wish.
111+
112+
1. Filter the map to display only the continental United States.
113+
114+
a. To the left of the "Visualizations" pane, look for the "Filters" pane. Expand it if it's minimized.
115+
116+
b. Hover over **State** and select the expand chevron.
117+
118+
c. Place a check mark next to **Select all** and remove the check mark next to **AK**.
119+
120+
:::image type="content" source="media/power-bi-visual/filled-map-us-minus-alaska.png" lightbox="media/power-bi-visual/filled-map-us-minus-alaska.png" alt-text="A screenshot showing a map of America with states colored in teal with varying degrees of shading depending on the amount of sales attained in each state.":::
121+
122+
<!--
123+
![A screenshot showing a map of America with states colored in teal with varying degrees of shading depending on the amount of sales attained in each state.](media/power-bi-visual/filled-map-us-minus-alaska.png)
124+
-->
125+
126+
## Next steps
127+
128+
Change how your data is displayed on the map:
129+
130+
> [!div class="nextstepaction"]
131+
> [Add a bar chart layer](power-bi-visual-add-bar-chart-layer.md)
132+
133+
> [!div class="nextstepaction"]
134+
> [Add a heat map layer](power-bi-visual-add-heat-map-layer.md)
135+
136+
Add more context to the map:
137+
138+
> [!div class="nextstepaction"]
139+
> [Add a reference layer](power-bi-visual-add-reference-layer.md)
140+
141+
> [!div class="nextstepaction"]
142+
> [Add a tile layer](power-bi-visual-add-tile-layer.md)
143+
144+
> [!div class="nextstepaction"]
145+
> [Show real-time traffic](power-bi-visual-show-real-time-traffic.md)
146+
147+
Customize the visual:
148+
149+
> [!div class="nextstepaction"]
150+
> [Tips and tricks for color formatting in Power BI](/power-bi/visuals/service-tips-and-tricks-for-color-formatting)
151+
152+
> [!div class="nextstepaction"]
153+
> [Customize visualization titles, backgrounds, and legends](/power-bi/visuals/power-bi-visualization-customize-title-background-and-legend)

articles/azure-maps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ items:
349349
href: power-bi-visual-add-reference-layer.md
350350
- name: Add a tile layer
351351
href: power-bi-visual-add-tile-layer.md
352+
- name: Add a filled map
353+
href: power-bi-visual-filled-map.md
352354
- name: Show real-time traffic
353355
href: power-bi-visual-show-real-time-traffic.md
354356
- name: Manage access

0 commit comments

Comments
 (0)