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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
PBIGuy25
Frequent Visitor

Is there a way to connect two columns in a clustered column chart with a calculated line?

I have a clustered column chart that looks at three aspects from a sale. Is there anyway I can show the difference between two columns and have that difference shown as a line wihtin the chart? See below for current and desired views.

 

Current

Before.png

Desired

After.png

2 REPLIES 2
grazitti_sapna
Super User
Super User

Hi @PBIGuy25 

  1. Create a Dax to find diiference between two columns
    GrossVsDiscount_Diff = SUM(Sales[GrossValue]) - SUM(Sales[Discount])
  2. Add a Line and Clustered Column Chart.
  3. Go to Visualizations → Line and Clustered Column Chart.
  4. Put your three measures (Gross Value, Discount, Profit) in the Column values.
  5. Put your new difference measure in the Line values.
    This way, your chart will show all three metrics as bars and the variance as a line.

grazitti_sapna_0-1759165006540.png

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.

🔗 Curious to explore more? [Discover here].

Let’s keep building smarter solutions together!

BeaBF
Super User
Super User

@PBIGuy25 Hi! no in this way it is not possible, but a workaround is to set constant lines and then add a card at the end of the barchart, in this way:

BeaBF_0-1758894276424.png


click on the graph and select:

BeaBF_1-1758894300419.png

 

BBF


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

👍 Kudos are appreciated

🔥 Proud to be a Super User!

Community News image 1920X1080.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors