ArcGIS layers bound to data

This layer draws the features of a layer in ArcGIS Online or ArcGIS Enterprise and joins each one to a row of your data. Use it when your organization already publishes its boundaries, assets or networks in ArcGIS and you want to color and select them from Power BI without exporting files.

Counties from an ArcGIS feature layer colored by a measure from the report, with unmatched counties in gray
ArcGIS features joined to report data

To draw an ArcGIS layer as it is published, without joining it to your data, use an ArcGIS reference layer instead.

What you need

Add these fields to the visual:

Field well What to put in it
ID A unique value for each row.
Feature Reference The value that identifies the feature in ArcGIS, for example an asset number or area code.

You also need the ArcGIS layer, and access to it. Public layers need no credential. For secured layers, set up the connection first, see Connect to ArcGIS.

In the Format pane this layer is called ArcGIS Feature Layer.

Add the layer

  1. Add ID and Feature Reference to the visual.
  2. In the Format pane, expand Data Layers. In the Data Layers group, turn on ArcGIS Feature Layer.
  3. In ArcGIS Feature Layer - Configuration, paste the layer's address into Esri ArcGIS Feature Layer URL.
  4. Turn on Match a Specific Property and choose the field that holds your Feature Reference values in Property to Match.
  5. Set the colors in ArcGIS Feature Layer - Formatting.
Link What is drawn
A layer, such as .../FeatureServer/3 or .../MapServer/3 That layer.
A service, such as .../FeatureServer or .../MapServer Layer 0 of the service.

How the join works

Each ArcGIS feature has attributes. The layer compares your Feature Reference value with an attribute of each feature, as text. Where they are the same, the feature takes that row's formatting and tooltips and can be selected.

  • Turn on Match a Specific Property and choose the field in Property to Match. Once the map has read the layer, Property to Match is a list of the layer's fields.
  • With Match a Specific Property off, every attribute of every feature is checked, which is slower.
  • If several rows have the same Feature Reference value, the first row is used.
  • Features with no matching row are drawn in the unmatched colors and cannot be selected. Turn on Remove Unmatched Shapes to hide them.

Load only the features you need

A large ArcGIS layer can hold far more features than your report uses. Two settings limit what is requested from ArcGIS:

  • Automatically filter - when your data has 350 rows or fewer, and Match a Specific Property is on, only the features that match your rows are requested. With more rows, the whole layer is requested. This works well with drill-down and with slicers that narrow the data.
  • ArcGIS SQL WHERE Clause - a filter in ArcGIS SQL, such as POPULATION > 1000000. It is used when Automatically filter is off and Match a Specific Property is on. It accepts conditional formatting, so a measure can build the filter from the current slicer selection.

Small layers, up to 5,000 features and about 8 MB, are loaded whole. Larger layers are loaded in tiles as you pan and zoom, simplified for the zoom level, so they stay fast.

Decimal Precision sets the number of decimal places requested for each coordinate. Simplification Factor controls how much the shapes are simplified when a large layer is loaded in tiles.

Use the layer's ArcGIS styling

Use ArcGIS Symbology draws the layer with the symbols defined on the service instead of the colors in the Format pane. If the ArcGIS styling cannot be drawn, the Format pane colors are used.

Drill down and several layers

The layer can hold up to five ArcGIS layers. Display multiple layers as in the Setup group decides how they are used:

  • Drill-Down - one layer is drawn at a time, following Power BI's drill level. Put a hierarchy in ID, set Number of Levels, and give each level its own ArcGIS layer and property to match. For Feature Reference, add one field used at every level, or one field for each level in the order of the hierarchy.
  • Multiple Layers - all the layers are drawn together. Each has a Feature Reference Field setting that picks which of your Feature Reference fields it is joined to.

Choose the level or layer to edit in Configure Level: or Configure Layer:.

Selection, tooltips and zoom

  • Click a matched feature to select its row and cross-filter the rest of the report. See Selection, cross-filtering and highlighting.
  • Pointing at a matched feature shows the fields in Tooltips. Add Property to Tooltip adds the matched property. Add All Properties to Tooltip adds the feature's ArcGIS attributes, or only the one named in Tooltip Property, with Tooltip Title as its label.
  • Add Tooltips to Unmatched Shapes shows tooltips on features with no matching row.
  • The map zooms to the matched features whose rows have Include in Auto Zoom set to Yes.

Settings

All settings are in Format pane > Data Layers, in the groups ArcGIS Feature Layer - Setup, ArcGIS Feature Layer - Configuration and ArcGIS Feature Layer - Formatting. With more than one level or layer, the titles end with its number.

Settings marked fx accept conditional formatting.

Setup

Setting What it does Default
Display multiple layers as Drill-Down or Multiple Layers. Drill-Down
Number of Levels / Number of Layers How many ArcGIS layers, 1 to 5. 1
Configure Level: / Configure Layer: The level or layer that the groups below edit. 1

Configuration

Setting What it does Default
Esri ArcGIS Feature Layer URL The address of the layer. fx Empty
Setting What it does Default
Feature Reference Field Which Feature Reference field this layer is joined to. Shown in Multiple Layers mode, or when more than one Feature Reference field is added. First field
Match a Specific Property Compares one field instead of every attribute. Off
Property to Match The ArcGIS field that holds your key. Empty
Add Property to Tooltip Adds the matched property to the tooltip. Off
Add All Properties to Tooltip Adds the feature's attributes to the tooltip. Off
Add Tooltips to Unmatched Shapes Shows tooltips on unmatched features. Off
Remove Unmatched Shapes Hides features that match no data row. Off
Tooltip Property A single property to show in the tooltip. Leave blank to show them all. Empty
Tooltip Title The title shown against that property. Leave blank to use the property name. Empty
Include Tooltip Shows tooltips on matched features. fx Yes
Include in Auto Zoom Includes matched features when the map zooms to fit your data. fx Yes
Selectable Lets report users select features. fx Yes
Visible Shows or hides the level or layer. With conditional formatting, a measure can switch it on and off. fx Yes
Automatically filter Requests only the features that match your rows, when there are 350 rows or fewer. Off
ArcGIS SQL WHERE Clause A filter sent to ArcGIS. Unavailable when Automatically filter is on or Match a Specific Property is off. fx Empty
Use ArcGIS Symbology Draws the layer with its ArcGIS symbols. Off
Simplification Factor How much shapes are simplified when a large layer is loaded in tiles, 0 to 100. 10
Decimal Precision Decimal places requested for coordinates, 0 to 15. 5
Min Zoom The layer is hidden when the map is zoomed out past this level. 0
Max Zoom The layer is hidden when the map is zoomed in past this level. 24
Z-Index Position in the drawing order. Layers with a higher value draw on top. 400

Formatting

Setting What it does Default
Fill Color Fill color of matched features. Theme color
Outline Color Outline and line color of matched features. Theme color
Fill Transparency 0 is solid, 100 is invisible. fx 1
Outline Transparency 0 is solid, 100 is invisible. fx 1
Dash Array A dash pattern for outlines and lines, as numbers separated by spaces or commas, for example 4 2. One pattern for the whole layer. 0 (solid)
Outline Width Width in pixels, 0 to 100. fx 1
Unmatched Fill Color Fill color of unmatched features. #CCCCCC
Unmatched Outline Color Outline color of unmatched features. #555555
Unmatched Fill Transparency 0 is solid, 100 is invisible. 1
Unmatched Outline Transparency 0 is solid, 100 is invisible. 1
Unmatched Outline Width Width in pixels, 0 to 100. 1

Polygons are drawn with a fill and an outline, lines with the outline settings, and points as circles of a fixed size.

Tips and limits

  • Nothing is colored. The Feature Reference values do not match the chosen field. Compare a few values with the layer's attribute table in ArcGIS. Look for leading zeros, case and spaces.
  • The layer is slow. Turn on Match a Specific Property, then use Automatically filter or a WHERE clause so that only the features you need are requested.
  • Up to five ArcGIS layers.
  • The ArcGIS layer is not available when the basemap is a custom image.
  • ArcGIS content can also reach the other data layers: a GeoJSON link with Source is ArcGIS in Shapes from files, or a vector tile service with Source is ArcGIS in Vector tiles.