Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

ArcGIS Maps legend shows values that are not in dataset anymore

I use the ArcGIS Maps visual to show postal code boundaries on the map.

Every postal code has an assigned employee in the source data.

I use the employee in the color bucket.

If I show the legend all employees are shown correctly.

But also a "No value" one that is not in my dataset.

If a new employee is added to the dataset this is correctly shown in the legend after a refresh.

If an existing employee is removed from the dataset, after a refresh the name of the employee is still shown in the legend.

This way the legend keeps on growing but doesn't shrink.

If I delete the entire visual and rebuild it, the removed employees are no longer shown.

I tried the various clean cache options that you can find in the settings to no avail.

Help?

3 REPLIES 3
Anonymous
Not applicable

Any ideas?

amitchandak
Super User
Super User

@Anonymous , is there 0 value coming for the employee not there. or employee table does not have it and still shows?

 

if it showing 0, then you change measure 

if([measure] =0, blank(), [measure])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak 

Please explain 0?

Employee is a text field and there are no blank values.

Employee is not part of a relationship that can cause blanks because of an "outer join".

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.