Description
In ArcGIS Dashboards, the labels in the map display incorrectly compared to the labels displayed in the web map in ArcGIS Online Map Viewer.
The following image shows the example of the labels in ArcGIS Online Map Viewer.
![Labels displayed in ArcGIS Online Map Viewer.](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000026069/00N39000003LL24-0EM5x000002eiLX.png)
The following image shows the example of the labels in ArcGIS Dashboards.
![Labels display incorrectly in ArcGIS Dashboards.](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000026069/00N39000003LL24-0EM5x000002eiLc.png)
Cause
- There are multiple feature layers turned on for labeling in the web map in ArcGIS Online Map Viewer.
- A date field is used for the labeling in ArcGIS Online Map Viewer.
Solution or Workaround
Choose one of the options below depending on the cause to resolve the issue.
Toggle off labeling for other feature layers
- In ArcGIS Online Map Viewer, open the map containing the feature layers.
- On the Contents toolbar on the left side, click Layers.
- In the Layers pane, select the layer to be excluded from labeling.
- On the Settings toolbar on the right side, click Labels.
- In the Label features pane, toggle off Enable labels.
- Repeat steps 3 to 5 in other layers if needed.
- Save the web map.
- On the Contents toolbar on the left side, click More > Create app.
- Select Dashboards to create a new dashboard or refresh the existing dashboard in ArcGIS Dashboards.
Populate the date field values in a new field
- Log in to the ArcGIS Online organizational account.
- Click Content, and click the My Content tab. Select the hosted feature layer to open the item details page.
- On the layer’s item page, click the Data tab.
- Add a new string field in the Table or Fields view. Refer to ArcGIS Online: Add or delete a field for steps to do so.
- Click the column of the newly created field, and select Calculate.
- In the Calculate Field window, select SQL.
- Select Date under Fields, and click the original date field. Click Calculate.
- Open the layer in ArcGIS Online Map Viewer, and set the new field for labeling. Refer to ArcGIS Online: Configure labels (Map Viewer) for steps to do so.
- On the Contents toolbar on the left side, click More > Create app.
- Select Dashboards to create a new dashboard in ArcGIS Dashboards.