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
aishak12
Helper IV
Helper IV

Combining two visuals

All, 

 

I have two stacked column charts. I want to combine the visuals to plot both values into one chart. It should show two different colors in the new chart.

 

The SUM value in chart 1 in one color and the SUM value in chart 2 in another color. 

 

 

1) 

Label 1,2,3,4 Selected:

aishak12_0-1659275258109.png

 

2) 

Label 5 Selected:

aishak12_1-1659275275249.png

 

 

This is the format of my data:

 

Column 1)                 Column 2)

Label 1                       10

Label 2                       20

Label 3                       30

Label 4                       25

Label 5                       40

1 ACCEPTED SOLUTION
gauthamboppana
Solution Specialist
Solution Specialist

@aishak12  - Create two new measures. Ones for summing up labels 1,2,3,4  and another for label 5.  You can use these two measures in the column charts.

Sum1 =  calculate( sum([column2]),  [column1] in {"Label 1","Label 2","Label 3","Label 4"}
Sum2 =  calculate( sum([column2]),  [column1] = "Label 5")

Let me know if you have any questions.

Did I answer your question? Mark my post as a solution! If not, please feel free to ask me.

Also, I would ❤ Kudos if my solution helped.  It is a token of appreciation!

Thank you very much !





View solution in original post

1 REPLY 1
gauthamboppana
Solution Specialist
Solution Specialist

@aishak12  - Create two new measures. Ones for summing up labels 1,2,3,4  and another for label 5.  You can use these two measures in the column charts.

Sum1 =  calculate( sum([column2]),  [column1] in {"Label 1","Label 2","Label 3","Label 4"}
Sum2 =  calculate( sum([column2]),  [column1] = "Label 5")

Let me know if you have any questions.

Did I answer your question? Mark my post as a solution! If not, please feel free to ask me.

Also, I would ❤ Kudos if my solution helped.  It is a token of appreciation!

Thank you very much !





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.