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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
astorey1
Frequent Visitor

Multi Line chart with Dual Axis (Total)

Hi

 

I am trying to create a multi line chart with a secondary axis and line for the total of all these meaures. I can acheive both in an individual chart but not both together which is incredibly frustrating as it takes seconds in excel! Because I am using data in my legend which spilts it into multi lines I cant seem to get a total unless I remove the legend field. 

astorey1_0-1634735614840.png

astorey1_1-1634735648729.png

 

 

 

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @astorey1 

 

Currently Power BI doesn't support adding multiple fields as Values in a line chart when it already has a Legend field. If it doesn't have a Legend field, then you can add multiple measures or columns into it.

 

If you don't have many categories in the legend field, you can add a measure for each category respectively and another measure for the total. Then put all measures into the line chart without a legend field. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

amitchandak
Super User
Super User

@astorey1 , Not very clear. But in analytics pane you can add contsant line using measure. chekc if that can help

 

Secondary axis can not split line by legend in power bi as of now

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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