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
Masthan
Frequent Visitor

Merge Two Stacked Column Charts

Hi Team,

 

Is it posssible to merge two stacked column charts/Clustered column chart into single chart. Please find the below images.

Are there any custom visuals to achieve this.

Input:

Masthan_3-1704804889852.png

 

Output:

Masthan_4-1704804943974.png

Thanks- Masthanaiah

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @Masthan ,

 

I created some data:

If two Visual fields are the same data, you can create a measure to get the corresponding value.

Table1:

vyangliumsft_0-1704854547899.png

Table2:

vyangliumsft_1-1704854547900.png

Here are the steps you can follow

1. Create measure.

Measure =
SUMX(
    FILTER(ALL('Table'),
    'Table'[Group]=MAX('Table2'[Group])),[Value2])

2. Result:

vyangliumsft_2-1704854570150.png

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @Masthan ,

 

I created some data:

If two Visual fields are the same data, you can create a measure to get the corresponding value.

Table1:

vyangliumsft_0-1704854547899.png

Table2:

vyangliumsft_1-1704854547900.png

Here are the steps you can follow

1. Create measure.

Measure =
SUMX(
    FILTER(ALL('Table'),
    'Table'[Group]=MAX('Table2'[Group])),[Value2])

2. Result:

vyangliumsft_2-1704854570150.png

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Kaviraj11
Super User
Super User

I'll need to see the dataset to help further investiagte and solve the problem.

You can upload you file in Google Drive or other cloud platform and share the link here and I'll be able to download.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Kaviraj11
Super User
Super User

You will need to make sure that the data belongs to the same category on X-Axis. Can you share sample pbix file?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I should not share the file here. So I was not able to do that.
can you please help me with possible examples.

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!

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.