Skip to content

Commit 17be420

Browse files
authored
Merge pull request #123597 from alankashiwa/powerbi-azmap-dyanmic-ref-layer
Power BI Azure Maps visual: Add dynamic reference layer instruction
2 parents dc035a7 + 5b133be commit 17be420

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
12 KB
Loading
2.61 KB
Loading

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ To use a hosted spatial dataset as a reference layer:
4343
1. Navigate to the **Format** pane.
4444
1. Expand the **Reference Layer** section.
4545
1. Select **URL** from the **Type** drop-down list.
46-
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial dataset with a `.json`, `.geojson`, `.wkt`, `.kml` or `.shp` extension.
46+
1. Select **Enter a URL** and enter a valid URL pointing to your hosted file. Hosted files must be a valid spatial dataset with a `.json`, `.geojson`, `.wkt`, `.kml` or `.shp` extension. After the link to the hosted file is added to the reference layer, the URL appears in the **Enter a URL** field. To remove the data from the visual simply delete the URL.
4747

48-
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted.png" alt-text="Screenshot showing the reference layers section when hosting a file control.":::
48+
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted.png" alt-text="Screenshot showing the reference layers section when using the 'Enter a URL' input control.":::
4949

50-
Once the link to the hosted file is added to the reference layer, the URL appears in the **Enter a URL** field. To remove the data from the visual simply delete the URL.
50+
1. Alternatively, you can create a dynamic URL using Data Analysis Expressions ([DAX]) based on fields, variables or other programmatic elements. By utilizing DAX, the URL will dynamically change based on filters, selections, or other user interactions and configurations. For more information, see [Expression-based titles in Power BI Desktop].
51+
52+
:::image type="content" source="./media/power-bi-visual/reference-layer-hosted-dax.png" alt-text="Screenshot showing the reference layers section when using DAX for the URL input.":::
5153

5254
---
5355

@@ -124,3 +126,5 @@ Add more context to the map:
124126
[supported style properties]: spatial-io-add-simple-data-layer.md#default-supported-style-properties
125127
[Add a tile layer]: power-bi-visual-add-tile-layer.md
126128
[Show real-time traffic]: power-bi-visual-show-real-time-traffic.md
129+
[DAX]: /dax/
130+
[Expression-based titles in Power BI Desktop]: /power-bi/create-reports/desktop-conditional-format-visual-titles

0 commit comments

Comments
 (0)