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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
asdf1608
Helper V
Helper V

Need to create two or more lines in a line chart

I need to have a line chart which is seperated by segment.

For example:

asdf1608_1-1673264268698.png

Here based on the order date, discount is visualized in line charts. And based on segment the linme is divided into three line charts. By adding segment to detail I got the line charts based on Segment

How do I get this visual in Power BI.?

 

Help with this is really appreciated.

 

Thanks in advance

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @asdf1608 ,

 

According to your description, here are my steps you can follow as a solution.

(1) We can create a line chart.

(2)Place your fields as shown and then the result is as follows.

Picture2.png

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @asdf1608 ,

 

According to your description, here are my steps you can follow as a solution.

(1) We can create a line chart.

(2)Place your fields as shown and then the result is as follows.

Picture2.png

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

amitchandak
Super User
Super User

@asdf1608 , You need to add a segment as legend

 

https://youtu.be/iYNVKXJJkCw

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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