Reply
Zubair_Muhammad
Community Champion
Community Champion
Partially syndicated - Outbound

Connecting lines Stacked Column Chart

Hi,

 

How can I add connecting lines in Stacked Column Chart as depicted below

 

stackedquestion.png

 

2 ACCEPTED SOLUTIONS
parry2k
Super User
Super User

Syndicated - Outbound

@Zubair_Muhammad not sure if there is something at the market place but you can use a ribbon chart and on the format pane, under the ribbon section, change the transparency to 100% and see if that helps.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @Zubair_Muhammad ,

We can use Line and stacked column chart to draw multiple lines to display the value of each column series. We need to create a corresponding number of measures to calculate the value of each series, and put these measures in Line Values.

I created some data:

v-yangliu-msft_0-1623828146905.png

Here are the steps you can follow:

1. Create measure.

Category-a = CALCULATE(SUM('Table'[amount]),'Table'[group]="A")
Category-b = CALCULATE(SUM('Table'[amount]),'Table'[group]="B" || 'Table'[group]="A" )
Category-c = CALCULATE(SUM('Table'[amount]),'Table'[group]="B" || 'Table'[group]="A"||'Table'[group]="C" )

2. Place [date] on Shared axis, place [group] on Column series, place [amount] on Column values, place [Category-a], [Category-b], [Category-c] on Line values.

v-yangliu-msft_1-1623828146909.png

3. Result:

v-yangliu-msft_2-1623828146919.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
avatar user
Anonymous
Not applicable

Syndicated - Outbound

Hello,

 

What if the values fluctuates in one category from positive to negative from one moth to another  ? The solution won´t work! any suggestions?

v-yangliu-msft
Community Support
Community Support

Syndicated - Outbound

Hi  @Zubair_Muhammad ,

We can use Line and stacked column chart to draw multiple lines to display the value of each column series. We need to create a corresponding number of measures to calculate the value of each series, and put these measures in Line Values.

I created some data:

v-yangliu-msft_0-1623828146905.png

Here are the steps you can follow:

1. Create measure.

Category-a = CALCULATE(SUM('Table'[amount]),'Table'[group]="A")
Category-b = CALCULATE(SUM('Table'[amount]),'Table'[group]="B" || 'Table'[group]="A" )
Category-c = CALCULATE(SUM('Table'[amount]),'Table'[group]="B" || 'Table'[group]="A"||'Table'[group]="C" )

2. Place [date] on Shared axis, place [group] on Column series, place [amount] on Column values, place [Category-a], [Category-b], [Category-c] on Line values.

v-yangliu-msft_1-1623828146909.png

3. Result:

v-yangliu-msft_2-1623828146919.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.

parry2k
Super User
Super User

Syndicated - Outbound

@Zubair_Muhammad not sure if there is something at the market place but you can use a ribbon chart and on the format pane, under the ribbon section, change the transparency to 100% and see if that helps.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Zubair_Muhammad
Community Champion
Community Champion
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)