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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
LijunChen
Resolver I
Resolver I

How to Create a Color Gradient Legend for Custom Shape Map

Hi Community members,

 

I have created a custom shape map of a state county boundary. I am using the map to show the county-specific values of some numeric fields (i.e., % maltreat, a created measure based on two other fields). I added the field "% maltreat" to Color Saturtion and the map displays the color gradients based on the values of each county: higher values corresponds to darker colors. See screenshot below.

LijunChen_0-1675275242233.png

 

I woul like to add a simple-bar legend with the color gradient (and possibly min and max values). However, it seems the custom map does not have the function to do that. When I put "county" or other fields in the legend field, each county/value has a separate color displayed instead of a gradient color.

I know that the map tool in Excel will automatically generate a color gradient bar/legend. Is there anyway the custom shape map can do this? Or is there any custom visual for creating color gradients bar? I checked online and it seems there is no easy solution for this, probably because the outcome data is dynamic. Any advice would be appreciated.

1 REPLY 1
delaneyhut
New Member

I don't believe this is possible though it should be. There is an open idea for this: https://ideas.powerbi.com/ideas/idea/?ideaid=b9b64b04-9f50-4402-a548-c0f4a8ce67a4&page=2

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.