Forum Discussion
Colors DonutChart
I have a report in Power BI and have entered some corporate colors in the theme. I have also applied these colors to various elements, such as a header. However, I now want to use different colors for a donut chart and prevent it from reverting to the corporate colors. How can I do this? I have already tried to import a JSON file, but this did not work. Perhaps it would work with a different visual?
First, select the column chart. Then, go to the column color (fx) option and choose 'Field value'. Select the desired measure and apply it. After that, switch the visualization from a column chart to a donut chart.
9 Replies
- MattiaFratelloSuper User
Hi MoniekvanBerkel,
I believe you can select your visual and manually assign colors from the format -> data color section.
- MoniekvanBerkelNew Member
Thanks, but when I publish the report to service, it adopts the corporate colors.
- MattiaFratelloSuper User
Hi MoniekvanBerkel, have you tried to modify the colors directly in Power BI Service?
- grazitti_sapnaSuper User
When a corporate theme is applied, it sets default colors for all visuals including donut charts, causing your custom colors to revert on publish.
To keep your donut chart colors independent of the corporate theme:- Manually enter exact HEX codes for Data colors in the Format pane—not from the theme palette.
- Use Format Painter to copy colors between visuals.
- Optionally, use conditional formatting via a color measure to dynamically assign colors.
- Consider custom visuals for stronger color control.
These methods ensure your donut chart colors stay fixed across editing, refreshing, and publishing to the Power BI Service.
🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!
- Shahid12523Community Champion
Set donut chart colors manually:
Format pane → Data colors → Show all → pick your own colors.
Or use a color measure + conditional formatting so the donut ignores the theme.JSON theme won’t help much since it applies colors globally.
- Shahid12523Community Champion
use this
- MoniekvanBerkelNew Member
Thank you, I have already tried that, but how do I add the measure? I can format the condition, but only apply it to the slices. With a bar chart, I can adjust/add it.
- Shahid12523Community Champion
First, select the column chart. Then, go to the column color (fx) option and choose 'Field value'. Select the desired measure and apply it. After that, switch the visualization from a column chart to a donut chart.