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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AFIbiFREAK
New Member

Striped or gradient field color for shape map

AFIbiFREAK_0-1664270554268.png

Hi there,

 

I am working on a shape map with a custom map and facing the issue that the US should be a combination of blue and yellow, either striped or as a gradient. Is it possible do this for a single field? My issue is that the coloring can only be linked to the data, and I cannot apply any effects to the fill color. The gradient only works for the overall data, and not for a single field.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AFIbiFREAK ,

//The gradient only works for the overall data, and not for a single field. 

Yes, the shape map is designed this way, each shape in the shape map can only be filled with one color. If the hierarchy in the location has only country, then it can only show one color. 
Is it possible to put a hierarchy like state into the location field? This way it would be possible to set the country to two or more colors.

vcgaomsft_0-1664354194178.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

2 REPLIES 2
AFIbiFREAK
New Member

Hi Gao,

 

Thanks for your reply.

 

This sounds like a great way to solve the issue, I just need to find out how to merge the two map levels. Since Power BI does not offer that as a solution, some coding or merging of the two different JSON files will be required.

 

I will look into how to do this. Thanks for your help!

Anonymous
Not applicable

Hi @AFIbiFREAK ,

//The gradient only works for the overall data, and not for a single field. 

Yes, the shape map is designed this way, each shape in the shape map can only be filled with one color. If the hierarchy in the location has only country, then it can only show one color. 
Is it possible to put a hierarchy like state into the location field? This way it would be possible to set the country to two or more colors.

vcgaomsft_0-1664354194178.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors