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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
MajeedKhan
Helper I
Helper I

Line Chart with 2 lines & Measures

Hi, 

 

i have 2 measures, [Sale MTD] & [Sale MTD LastYear]


I want to show the 2 lines in a line visual. How can i achieve that?

I enclosed  a pic for reference.

MajeedKhan_0-1664973455587.png

 

In excel it looks easy. but i couldn't achieve the same in PBI.

 

Thank you in advance 

1 ACCEPTED SOLUTION
PabloDeheza
Solution Sage
Solution Sage

Hi @MajeedKhan !
You should be able to achieve this by draggin both Sales in the Y-Axis and Date in the X-Axis. Note that if you add a Legend yo the visual, you wont be able to add more than one field to the Y-Axis.

Let me know if that helps!

View solution in original post

2 REPLIES 2
MajeedKhan
Helper I
Helper I

Thank you @PabloDeheza 

PabloDeheza
Solution Sage
Solution Sage

Hi @MajeedKhan !
You should be able to achieve this by draggin both Sales in the Y-Axis and Date in the X-Axis. Note that if you add a Legend yo the visual, you wont be able to add more than one field to the Y-Axis.

Let me know if that helps!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!