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-understanding-layers.md
+136Lines changed: 136 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,142 @@ The general layer section of the **Format** pane are common settings that apply
100
100
>
101
101
> For more information on the range scaling option, see **Range scaling** in the properties table of the [Add a bubble layer] article.
102
102
103
+
## Data-Bound Reference Layer
104
+
105
+
The Data-Bound Reference Layer enables the association of data with specific shapes in the reference layer based on common attributes.
106
+
107
+
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.
108
+
109
+
:::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.":::
110
+
111
+
Azure Maps matches these identifiers with the corresponding properties in the uploaded spatial file, automatically linking your data to the shapes on the map.
112
+
113
+
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.
114
+
115
+
:::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.":::
116
+
117
+
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:
118
+
119
+
1. Select the **Format visual** tab in the **Visualizations** pane.
120
+
1. Select **Reference layer**.
121
+
1. Select **Unmapped Objects**.
122
+
1. Select the **Show** toggle switch to toggle On/Off. This highlights shapes that aren't mapped to any data points.
123
+
124
+
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.
125
+
126
+
:::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.":::
| | | Shape_4 ↔ x (Since there’s no datapoint with Office name “Office D”) |
210
+
| Case 2 | City | Nothing is mapped, since there’s no property that contains matched City names. |
211
+
212
+
Note that there is a property “id” also has “Office x” values that is not being used, but instead the property “name” is used for data mapping since it has 3 datapoints matched and “id” only has 2 datapoints matched.
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.
219
+
220
+
:::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.":::
221
+
222
+
There are several ways to set colors to the shapes. The following table shows the priorities used:
| 5 | Custom formatting colors | User defined custom styles in the Reference Layer options in the formatting pane |
231
+
| 6 | Default colors | Default colors defined in the Azure Maps visual |
232
+
233
+
> [!TIP]
234
+
>
235
+
> 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.
236
+
>
237
+
> 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