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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ctiago
Frequent Visitor

Applying a formatting rule to multiple charts

Hi,

 

I have multiple (stacked) column charts. Under Columns-->Color I create a rule to have slightly different column colors based on the  value of an X-axis variable.

 

My question is simply whether I can reapply the same rules (such as this) to multiple charts or if I must manually do it for each of them.

 

Grouping visuals does't seem to allow it as it offers far less formatting options once the grouping is done.

Thank you!

1 ACCEPTED SOLUTION
dharmendars007
Super User
Super User

Hello @ctiago , 

In Power BI, there isn’t a direct method to apply the same conditional formatting or rules across multiple visuals automatically. However, here are some approaches that can make this process more efficient.

1. Format Painter - Use the Format Painter to quickly copy visual formatting from one chart to another.

Go to the Format tab >> Click on Format Painter >> Select the target visual to apply the copied formatting.

This works for most formatting, but it does not always replicate data-specific conditional rules.

 

2. Create a DAX measure for color logic, like

ColumnColor =
SWITCH(TRUE(),
[X-Axis Value] = "Condition1", "#FF0000",
[X-Axis Value] = "Condition2", "#00FF00",
"#CCCCCC" // Default)

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

4 REPLIES 4
v-achippa
Community Support
Community Support

Hi @ctiago 

Thank you for reaching out to Microsoft Fabric Community.

 

In Power BI does not natively support applying the same conditional formatting rules across multiple visuals. Each visual requires the rules to be manually recreated, as there is no built-in option to save or copy-paste these formatting rules.

 

But we can achieve it by following the below approach:

  1. Initially select your stacked column chart visual which you want to give same colors to other chart visuals
  2. Now from the Home ribbon select Format painter (It will take the colors from that visual)
  3. With that paint brush select the visual which you want to replicate the same colors
    Follow below screen shot, similarly you can do this for multiple visuals

Before:

vachippa_2-1734440285481.png


After:

vachippa_3-1734440317122.png

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!

 

Thank and Regards,

Anjan Kumar Chippa

That was quite well explained, thank you for the details.

dharmendars007
Super User
Super User

Hello @ctiago , 

In Power BI, there isn’t a direct method to apply the same conditional formatting or rules across multiple visuals automatically. However, here are some approaches that can make this process more efficient.

1. Format Painter - Use the Format Painter to quickly copy visual formatting from one chart to another.

Go to the Format tab >> Click on Format Painter >> Select the target visual to apply the copied formatting.

This works for most formatting, but it does not always replicate data-specific conditional rules.

 

2. Create a DAX measure for color logic, like

ColumnColor =
SWITCH(TRUE(),
[X-Axis Value] = "Condition1", "#FF0000",
[X-Axis Value] = "Condition2", "#00FF00",
"#CCCCCC" // Default)

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

On a small note, in Power BI Desktop I found the "format painter" in the "Home" tab, other than that, that does help and I appreciate the options!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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