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! Request now

Reply
Anonymous
Not applicable

Superimpose Stacked Column chart with Line chart in Power BI Using R

Hi All

I am trying to create line chart and superimpose on stacked bar chart as below screen shot in r script. 

 

Capture.JPG

Here is dataset which coming from db.
Line chart represent the value of MartToMarket by the date. Stacked column chart represent value of Volumne stacked with CommodityGroup by the date. For the Volume on Colume per date, filled by commodity group. We have one showning one visual per counterprty. Here we have data only for TradingCounterpart of Axpo Solumtion AG.

Howe we can do this in R Script.

 

Capture2.JPG

 

@CustomVisuals @RScript

1 REPLY 1
v-evelk
Microsoft Employee
Microsoft Employee

Hi,

 

Sorry, I'm not an expert in R, unfortunately.

However, I found a couple of links that could be useful.

So, please check this and that web pages.

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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