Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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!
| Facility | Packages | Receipt/Delivery | Month |
| Redbud | 11001 | R | Jan-20 |
| Redbud | 12103 | D | Jan-20 |
| Redbud | 12000 | R | Feb-20 |
| Redbud | 11542 | D | Feb-20 |
| Redbud | 10500 | R | Mar-20 |
| Redbud | 10123 | D | Mar-20 |
| Redbud | 9998 | R | Apr-20 |
| Redbud | 11756 | D | Apr-20 |
| Redbud | 11010 | R | May-20 |
| Redbud | 12102 | D | May-20 |
| Redbud | 10687 | R | Jun-20 |
| Redbud | 11253 | D | Jun-20 |
| Redbud | 9998 | R | Jul-20 |
| Redbud | 11532 | D | Jul-20 |
| Redbud | 12002 | R | Aug-20 |
| Redbud | 12102 | D | Aug-20 |
| Redbud | 12000 | R | Sep-20 |
| Redbud | 10123 | D | Sep-20 |
| Redbud | 10002 | R | Oct-20 |
| Redbud | 9998 | D | Oct-20 |
| Redbud | 12001 | R | Nov-20 |
| Redbud | 11521 | D | Nov-20 |
| Redbud | 12000 | R | Dec-20 |
| Redbud | 13250 | D | Dec-20 |
Solved! Go to 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] )
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.
@Xx_LAMORAK_xX are you looking for something like this. Would appreciate Kudos 🙂 if my solution helped.
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] )
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!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.