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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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