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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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