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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors