Skip to content

Commit 53dd882

Browse files
committed
grammar
1 parent a353483 commit 53dd882

File tree

2 files changed

+42
-42
lines changed

2 files changed

+42
-42
lines changed

articles/azure-maps/power-bi-visual-add-path-layer.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
2-
title: Path Layer in an Azure Maps Power BI visual
2+
title: The path layer in Azure Maps Power BI visual
33
titleSuffix: Microsoft Azure Maps Power BI visual
44
description: This article describes the path layer in an Azure Maps Power BI visual.
55
author: deniseatmicrosoft
66
ms.author: limingchen
7-
ms.date: 11/11/2024
7+
ms.date: 11/27/2024
88
ms.topic: how-to
99
ms.service: azure-maps
1010
ms.subservice: power-bi-visual
1111
---
1212

13-
# The Path Layer in Azure Maps Power BI visual
13+
# The path layer in Azure Maps Power BI visual
1414

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.
1616

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:
1818

1919
- **Route Visualization**: Showing vehicle, ship, or flight paths between locations.
2020
- **Network Analysis**: Examines connections between nodes in a network, like supply chain routes or communication networks.
2121
- **Movement Tracking**: Monitoring assets or individuals over time and space.
2222

2323
This guide explains how to use this feature effectively.
2424

25-
## Add a Path Layer
25+
## Add a path layer
2626

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].
2828

2929
| Setting | Description |
3030
|-------------------|--------------------------------------------|
@@ -35,7 +35,7 @@ This section describes how to add data and configure the Path Layer. Before star
3535
| Maximum Zoom | Maximum zoom level the layer is visible at |
3636
| Minimum Zoom | Minimum zoom level the layer is visible at |
3737

38-
### Add Data to the Path Layer
38+
### Add data to the path layer
3939

4040
To draw paths, provide data for "Path ID" and "Point Order":
4141

@@ -44,38 +44,38 @@ To draw paths, provide data for "Path ID" and "Point Order":
4444

4545
:::image type="content" source="media/power-bi-visual/path-layer.png" alt-text="A screenshot showing the path layer properties.":::
4646

47-
### Configure a Path Layer
47+
### Configure a path layer
4848

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.
5050

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.
5252

5353
:::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.":::
5454

55-
### Interact with a Path Layer
55+
### Interact with a path layer
5656

57-
The Path Layer feature offers several interactive options:
57+
The path layer feature offers several interactive options:
5858

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.
6060
- **Tooltips**: Tooltips show information for the nearest point when hovering over a line.
6161

6262
:::image type="content" source="media/power-bi-visual/path-layer-map.png" alt-text="A screenshot showing a map using the path layer.":::
6363

64-
### Explore and customize a Path Layer
64+
### Explore and customize a path layer
6565

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.
6767

68-
#### Legends in a Path Layer
68+
#### Legends in a path layer
6969

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:
7171

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".
7373
- **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.
7575

76-
#### Handle Origin-Destination Data
76+
#### Handle origin-destination data
7777

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:
7979

8080
1. **Import Data**: Import your origin-destination data into Power BI.
8181
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
9696
    #"Replaced Values"
9797
```
9898

99-
**Before Transformation**
99+
**Before transformation**
100100

101101
| origin  | destination  |
102102
|-----------|---------------|
@@ -106,7 +106,7 @@ To use origin-destination data in the Path Layer, you must first transform it, a
106106
| Seattle  | Denver  |
107107
| Boston  | San Francisco |
108108

109-
**After Transformation**
109+
**After transformation**
110110

111111
| path_id  | point_order  | city  |
112112
|----------|--------------|---------------|
@@ -124,12 +124,12 @@ To use origin-destination data in the Path Layer, you must first transform it, a
124124
## Current limitations
125125

126126
- The path layer is only compatible with specific map data layers, including the Bubble, Reference, Traffic, and Tile layers.
127-
- The data-bound reference layer is not available when the path layer is enabled.
127+
- The data-bound reference layer isn't available when the path layer is enabled.
128128
- Location hierarchy (drill down) is disabled when a Path ID is provided.
129129

130130
## Conclusion
131131

132-
The Path Layer feature in Azure Maps Visual is a tool for visualizing and analyzing spatial connections. This new capability can be utilized to enhance reports.
132+
The path layer feature in Azure Maps Visual is a tool for visualizing and analyzing spatial connections. This new capability can be utilized to enhance reports.
133133

134134
[Use the Azure Maps Power BI visual]: power-bi-visual-get-started.md#use-the-azure-maps-power-bi-visual
135135
[Unpivot function in Power Query]: /power-query/unpivot-column

articles/azure-maps/power-bi-visual-add-reference-layer.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Azure Maps Power BI visual
44
description: This article describes how to use the reference layer in Azure Maps Power BI visual.
55
author: deniseatmicrosoft
66
ms.author: limingchen
7-
ms.date: 07/10/2024
7+
ms.date: 11/27/2024
88
ms.topic: how-to
99
ms.service: azure-maps
1010
ms.subservice: power-bi-visual
@@ -115,7 +115,7 @@ The _Custom style for reference layer via format pane_ feature in Azure Maps ena
115115

116116
:::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.":::
117117

118-
### Enabling Custom Styles
118+
### Enabling custom styles
119119

120120
To use the custom styling options for reference layers, follow these steps:
121121

@@ -126,14 +126,14 @@ To use the custom styling options for reference layers, follow these steps:
126126
> [!NOTE]
127127
> 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.
128128
129-
### Style Configuration
129+
### Style configuration
130130

131131
| Setting name | Description | Setting values |
132132
|---------------------|------------------------------------------------------|----------------------------------------------------------------------|
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-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% |
137137

138138
The **Points** section of the format visual pane:
139139

@@ -143,23 +143,23 @@ The **Lines** section of the format visual pane:
143143

144144
:::image type="content" source="./media/power-bi-visual/lines.png" alt-text="A screenshot displaying the lines section of the format visual pane.":::
145145

146-
The **polygons** section of the format visual pane:
146+
The **Polygons** section of the format visual pane:
147147

148148
:::image type="content" source="./media/power-bi-visual/polygons.png" alt-text="A screenshot displaying the polygons section of the format visual pane.":::
149149

150-
## Data-Bound Reference Layer
150+
## Data-bound reference layer
151151

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.
153153

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.
155155

156156
:::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.":::
157157

158158
Azure Maps matches these identifiers with the corresponding properties in the uploaded spatial file, automatically linking your data to the shapes on the map.
159159

160160
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.
161161

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.":::
163163

164164
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:
165165

@@ -170,7 +170,7 @@ If one or more shapes in the reference layer can't be automatically mapped to an
170170

171171
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.
172172

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.":::
174174

175175
<!----------------------------------------------------------------------------
176176
### Key matching example
@@ -260,11 +260,11 @@ Note that there is a property “id” also has “Office x” values that is no
260260
261261
---------------------------------------------------------------------------------------------------------------------------->
262262

263-
## Conditional Formatting
263+
## Conditional formatting
264264

265265
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.
266266

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.":::
268268

269269
There are several ways to set colors to the shapes. The following table shows the priorities used:
270270

@@ -281,7 +281,7 @@ There are several ways to set colors to the shapes. The following table shows th
281281
>
282282
> 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.
283283
>
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.
285285
286286
## Next steps
287287

0 commit comments

Comments
 (0)