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
Xx_LAMORAK_xX
New Member

Line Chart w/ 3 Lines & Measure

I am trying to figure out the way to add a line chart visual with two y axis.  I need to show packages recieved and packages delivered on one axis and then on the second axis I want to show a comparison between the two using the following; [(Packages Received - Packages Delivered)/Packages Delivered].  I can get the first part of this pretty easily with a standard line chart, but I am having a difficult time creating the measure for the last part and placing it on its own axis.  Below is a sample from my data.  Thank you so much for your help!

 

FacilityPackagesReceipt/DeliveryMonth
Redbud11001RJan-20
Redbud12103DJan-20
Redbud12000RFeb-20
Redbud11542DFeb-20
Redbud10500RMar-20
Redbud10123DMar-20
Redbud9998RApr-20
Redbud11756DApr-20
Redbud11010RMay-20
Redbud12102DMay-20
Redbud10687RJun-20
Redbud11253DJun-20
Redbud9998RJul-20
Redbud11532DJul-20
Redbud12002RAug-20
Redbud12102DAug-20
Redbud12000RSep-20
Redbud10123DSep-20
Redbud10002ROct-20
Redbud9998DOct-20
Redbud12001RNov-20
Redbud11521DNov-20
Redbud12000RDec-20
Redbud13250DDec-20
1 ACCEPTED SOLUTION

@Xx_LAMORAK_xX add following 3 measure and on line chart add measures to the pane as shown below

 

Packages Received = CALCULATE ( [Sum], Line[Receipt/Delivery] = "R" )

Packages Delivered = CALCULATE ( [Sum], Line[Receipt/Delivery] = "D" )

% Delivered = DIVIDE( [Packages Received] - [Packages Delivered], [Packages Delivered] )

 

image.png

 

Ask anything Power BI. Book appointment for a free consultancy at https://www.perytus.com



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

4 REPLIES 4
parry2k
Super User
Super User

@Xx_LAMORAK_xX are you looking for something like this.   Would appreciate Kudos 🙂 if my solution helped.

 

image.png



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.

Thats exactly what I am lookign for!  How did you create that visual and what was the measure you used.  Thanks so much that was quick!

@Xx_LAMORAK_xX add following 3 measure and on line chart add measures to the pane as shown below

 

Packages Received = CALCULATE ( [Sum], Line[Receipt/Delivery] = "R" )

Packages Delivered = CALCULATE ( [Sum], Line[Receipt/Delivery] = "D" )

% Delivered = DIVIDE( [Packages Received] - [Packages Delivered], [Packages Delivered] )

 

image.png

 

Ask anything Power BI. Book appointment for a free consultancy at https://www.perytus.com



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.

This worked like a charm, why didn't I think to parse it out into three seperate measures.  That would have made it super simple!

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