You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-maps/power-bi-visual-add-path-layer.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,30 @@
1
1
---
2
-
title: Path Layer in an Azure Maps Power BI visual
2
+
title: The path layer in Azure Maps Power BI visual
3
3
titleSuffix: Microsoft Azure Maps Power BI visual
4
4
description: This article describes the path layer in an Azure Maps Power BI visual.
5
5
author: deniseatmicrosoft
6
6
ms.author: limingchen
7
-
ms.date: 11/11/2024
7
+
ms.date: 11/27/2024
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
10
10
ms.subservice: power-bi-visual
11
11
---
12
12
13
-
# The Path Layer in Azure Maps Power BI visual
13
+
# The path layer in Azure Maps Power BI visual
14
14
15
-
The Path Layer feature in the Azure Maps Power BI Visual enables the visualization of connections between multiple geographic points.
15
+
The path layer feature in the Azure Maps Power BI Visual enables the visualization of connections between multiple geographic points.
16
16
17
-
The Path Layer feature can be used in multiple scenarios, such as:
17
+
The path layer feature can be used in multiple scenarios, such as:
18
18
19
19
-**Route Visualization**: Showing vehicle, ship, or flight paths between locations.
20
20
-**Network Analysis**: Examines connections between nodes in a network, like supply chain routes or communication networks.
21
21
-**Movement Tracking**: Monitoring assets or individuals over time and space.
22
22
23
23
This guide explains how to use this feature effectively.
24
24
25
-
## Add a Path Layer
25
+
## Add a path layer
26
26
27
-
This section describes how to add data and configure the Path Layer. Before starting, you need to open your Azure Maps Visual in Power BI. For more information on adding an Azure Maps Visual to your Power BI report, see [Use the Azure Maps Power BI visual].
27
+
This section describes how to add data and configure the path layer. Before starting, you need to open your Azure Maps Visual in Power BI. For more information on adding an Azure Maps Visual to your Power BI report, see [Use the Azure Maps Power BI visual].
@@ -35,7 +35,7 @@ This section describes how to add data and configure the Path Layer. Before star
35
35
| Maximum Zoom | Maximum zoom level the layer is visible at |
36
36
| Minimum Zoom | Minimum zoom level the layer is visible at |
37
37
38
-
### Add Data to the Path Layer
38
+
### Add data to the path layer
39
39
40
40
To draw paths, provide data for "Path ID" and "Point Order":
41
41
@@ -44,38 +44,38 @@ To draw paths, provide data for "Path ID" and "Point Order":
44
44
45
45
:::image type="content" source="media/power-bi-visual/path-layer.png" alt-text="A screenshot showing the path layer properties.":::
46
46
47
-
### Configure a Path Layer
47
+
### Configure a path layer
48
48
49
-
After adding your data, you can adjust the Path Layer's color, line width, and opacity. Apply settings by legend or path ID, coloring paths, and locations with the same legend identically.
49
+
After adding your data, you can adjust the path layer's color, line width, and opacity. Apply settings by legend or path ID, coloring paths, and locations with the same legend identically.
50
50
51
-
After adding your data, you can configure the Path Layer according to your requirements. The style of the paths can be customized by adjusting the line color, width, and opacity. These settings can be applied based on legend or path ID. If a legend is provided, paths and locations associated with the same legend share the same color.
51
+
After adding your data, you can configure the path layer according to your requirements. The style of the paths can be customized by adjusting the line color, width, and opacity. These settings can be applied based on legend or path ID. If a legend is provided, paths and locations associated with the same legend share the same color.
52
52
53
53
:::image type="content" source="media/power-bi-visual/path-layer-configuration.png" alt-text="A screenshot showing the path layer configuration properties, including line color, transparency, and width as well as minimum and maximum zoom.":::
54
54
55
-
### Interact with a Path Layer
55
+
### Interact with a path layer
56
56
57
-
The Path Layer feature offers several interactive options:
57
+
The path layer feature offers several interactive options:
58
58
59
-
-**Hover and Select**: Hover over a path to select points; clicking on a path selects the nearest point. The selected point will also select other reports by legend, path ID, location, and point order.
59
+
-**Hover and Select**: Hover over a path to select points; clicking on a path selects the nearest point. The selected point also selects other reports by legend, path ID, location, and point order.
60
60
-**Tooltips**: Tooltips show information for the nearest point when hovering over a line.
61
61
62
62
:::image type="content" source="media/power-bi-visual/path-layer-map.png" alt-text="A screenshot showing a map using the path layer.":::
63
63
64
-
### Explore and customize a Path Layer
64
+
### Explore and customize a path layer
65
65
66
-
Examine the connections and insights revealed by the Path Layer visualization. Further customize the settings to suit your specific requirements and derive more profound insights from your geospatial data.
66
+
Examine the connections and insights revealed by the path layer visualization. Further customize the settings to suit your specific requirements and derive more profound insights from your geospatial data.
67
67
68
-
#### Legends in a Path Layer
68
+
#### Legends in a path layer
69
69
70
-
Adding a field to the legend field well creates a higher level of grouping. Consequently, paths and locations associated with the same legend are colored identically. Here's the process:
70
+
Adding a field to the legend field well creates a higher level of grouping. So, paths and locations associated with the same legend are colored identically. Here's the process:
71
71
72
-
-**Grouping by Legend**: When a legend is provided, the paths and locations are grouped based on the legend. For instance, if visualizing flight paths with the airline as the legend, all paths and locations associated with the same airline share the same color. Moreover, if there are two rows, one with legend "Contoso" and path ID "A123", and another with legend "MSAirline" and path ID "A123", the Path Layer interprets these as two distinct paths: "Contoso-A123" and "MSAirline-A123".
72
+
-**Grouping by Legend**: When a legend is provided, the paths and locations are grouped based on the legend. For instance, if visualizing flight paths with the airline as the legend, all paths and locations associated with the same airline share the same color. Moreover, if there are two rows, one with legend "Contoso" and path ID "A123," and another with legend "MSAirline" and path ID "A123," the path layer interprets these as two distinct paths: "Contoso-A123" and "MSAirline-A123".
73
73
-**Styling by Legend**: Configure the style (color, line width, opacity) using the legend to visually differentiate path groups.
74
-
-**Interaction by Legend**: When interacting with the Path Layer, selecting a path or point will also select other reports based on legend, path ID, location, and point order. This ensures all related data points are highlighted together.
74
+
-**Interaction by Legend**: When interacting with the path layer, selecting a path or point also selects other reports based on legend, path ID, location, and point order. This ensures all related data points are highlighted together.
75
75
76
-
#### Handle Origin-Destination Data
76
+
#### Handle origin-destination data
77
77
78
-
To use origin-destination data in the Path Layer, you must first transform it, as Azure Maps Visual doesn't directly support such data. Use the [Unpivot function in Power Query] to do this. Here’s how:
78
+
To use origin-destination data in the path layer, you must first transform it, as Azure Maps Visual doesn't directly support such data. Use the [Unpivot function in Power Query] to do this. Here’s how:
79
79
80
80
1.**Import Data**: Import your origin-destination data into Power BI.
81
81
1.**Apply Unpivot Function**: Use the following Power Query to transform the data:
@@ -96,7 +96,7 @@ To use origin-destination data in the Path Layer, you must first transform it, a
96
96
#"Replaced Values"
97
97
```
98
98
99
-
**BeforeTransformation**
99
+
**Beforetransformation**
100
100
101
101
|origin|destination|
102
102
|-----------|---------------|
@@ -106,7 +106,7 @@ To use origin-destination data in the Path Layer, you must first transform it, a
106
106
|Seattle|Denver|
107
107
|Boston|SanFrancisco|
108
108
109
-
**AfterTransformation**
109
+
**Aftertransformation**
110
110
111
111
|path_id|point_order|city|
112
112
|----------|--------------|---------------|
@@ -124,12 +124,12 @@ To use origin-destination data in the Path Layer, you must first transform it, a
Copy file name to clipboardExpand all lines: articles/azure-maps/power-bi-visual-add-reference-layer.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps Power BI visual
4
4
description: This article describes how to use the reference layer in Azure Maps Power BI visual.
5
5
author: deniseatmicrosoft
6
6
ms.author: limingchen
7
-
ms.date: 07/10/2024
7
+
ms.date: 11/27/2024
8
8
ms.topic: how-to
9
9
ms.service: azure-maps
10
10
ms.subservice: power-bi-visual
@@ -115,7 +115,7 @@ The _Custom style for reference layer via format pane_ feature in Azure Maps ena
115
115
116
116
:::image type="content" source="./media/power-bi-visual/custom-style-for-reference-layer-via-format-pane.png" alt-text="A map displaying the custom style for reference layer via format pane feature.":::
117
117
118
-
### Enabling Custom Styles
118
+
### Enabling custom styles
119
119
120
120
To use the custom styling options for reference layers, follow these steps:
121
121
@@ -126,14 +126,14 @@ To use the custom styling options for reference layers, follow these steps:
126
126
> [!NOTE]
127
127
> If your geospatial files (GeoJSON, KML) include predefined style properties, Power BI will utilize those styles rather than the settings configured in the format pane. Make sure your files are styled according to your requirements before uploading if you intend to use custom properties defined within them.
| Fill Colors| Fill color of points and polygons. | Set colors for different data category or gradient for numeric data. |
134
-
| Border Color| The color of the points, lines, and polygons outline.| Color picker |
135
-
| Border width | The width of the border in pixels. Default: 3 px | Width 1-10 pixels |
136
-
| Border transparency |The transparency of the borders. Default: 0% | Transparency 0-100% |
133
+
| Fill colors| Fill color of points and polygons. | Set colors for different data category or gradient for numeric data. |
134
+
| Border color| The color of the points, lines, and polygons outline.| Color picker |
135
+
| Border width | The width of the border in pixels. Default: 3 px | Width 1-20 pixels |
136
+
| Border transparency | The transparency of the borders. Default: 0%| Transparency 0-100% |
137
137
138
138
The **Points** section of the format visual pane:
139
139
@@ -143,23 +143,23 @@ The **Lines** section of the format visual pane:
143
143
144
144
:::image type="content" source="./media/power-bi-visual/lines.png" alt-text="A screenshot displaying the lines section of the format visual pane.":::
145
145
146
-
The **polygons** section of the format visual pane:
146
+
The **Polygons** section of the format visual pane:
147
147
148
148
:::image type="content" source="./media/power-bi-visual/polygons.png" alt-text="A screenshot displaying the polygons section of the format visual pane.":::
149
149
150
-
## Data-Bound Reference Layer
150
+
## Data-bound reference layer
151
151
152
-
The Data-Bound Reference Layer enables the association of data with specific shapes in the reference layer based on common attributes.
152
+
The data-bound reference layer enables the association of data with specific shapes in the reference layer based on common attributes.
153
153
154
-
To use the Data-Bound Reference layer, drag the column containing unique identifiers (can be location data or not) to the Location field of the Azure Maps Visual.
154
+
To use the data-bound reference layer, drag the column containing unique identifiers (can be location data or not) to the Location field of the Azure Maps visual.
155
155
156
156
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/location-field.png" alt-text="A screenshot showing the location field in Power BI desktop.":::
157
157
158
158
Azure Maps matches these identifiers with the corresponding properties in the uploaded spatial file, automatically linking your data to the shapes on the map.
159
159
160
160
In scenarios with multiple properties, Azure Maps identifies a common property in each shape and compares its value with the selected data column in the Location field. It then uses the property that has the highest number of matches with the selected data column.
161
161
162
-
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer.png" lightbox="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer.png" alt-text="A screenshot showing the Data-Bound Reference Layer example in Power BI desktop.":::
162
+
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer.png" lightbox="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer.png" alt-text="A screenshot showing the data-bound reference layer example in Power BI desktop.":::
163
163
164
164
If one or more shapes in the reference layer can't be automatically mapped to any data point, you can manage these unmapped objects by following these steps:
165
165
@@ -170,7 +170,7 @@ If one or more shapes in the reference layer can't be automatically mapped to an
170
170
171
171
Optionally, select the **Use custom colors** toggle switch to toggle On/Off custom fill and border colors for unmapped objects to make them visually distinct on the map.
172
172
173
-
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer-unmapped-objects.png" lightbox="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer-unmapped-objects.png" alt-text="A screenshot showing the Data-Bound Reference Layer example in Power BI desktop with unmapped objects showing in a different color.":::
173
+
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer-unmapped-objects.png" lightbox="media/power-bi-visual/data-bound-reference-layer/data-bound-reference-layer-unmapped-objects.png" alt-text="A screenshot showing the data-bound reference layer example in Power BI desktop with unmapped objects showing in a different color.":::
Conditional formatting can be applied to data to dynamically change the appearance of shapes on a map based on the provided data. For instance, gradient colors can visualize various data values such as population density, sales performance, or other metrics. This is a powerful tool for combining spatial and business data to create interactive and visually compelling reports.
266
266
267
-
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/conditional-formatting.png" alt-text="A screenshot showing the Conditional Formatting controls for points, lines, polygons, and unmanaged objects in the reference layer control in Power BI desktop.":::
267
+
:::image type="content" source="media/power-bi-visual/data-bound-reference-layer/conditional-formatting.png" alt-text="A screenshot showing the conditional formatting controls for points, lines, polygons, and unmanaged objects in the reference layer control in Power BI desktop.":::
268
268
269
269
There are several ways to set colors to the shapes. The following table shows the priorities used:
270
270
@@ -281,7 +281,7 @@ There are several ways to set colors to the shapes. The following table shows th
281
281
>
282
282
> The Azure Maps Power BI Visual can only perform geocoding on valid location data such as geographical coordinates, addresses, or place names. If no valid location data is uploaded, data layers that depend on geocoded locations, such as heat maps or bubble layers, won’t display on the map.
283
283
>
284
-
> The Data-Bound Reference Layer will appear on the map as long as the data column contains unique identifiers that match properties in the spatial file, but to ensure correct results, your data column must include valid geographic information.
284
+
> The data-bound reference layer will appear on the map as long as the data column contains unique identifiers that match properties in the spatial file, but to ensure correct results, your data column must include valid geographic information.
0 commit comments