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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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