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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

line chart with data pairing

Hi

 

Does anyone knows if it is possible to have data pairing on a line chart?

For example, with the data set as follows:

DateProductIDDefectiveAccepted
1/3/20231901000
1/3/202322001200
1/3/202331001500
1/3/20234301500
2/3/202031501300
2/3/2020321502300
2/3/202033801600
2/3/2020343501800
3/3/202312301900
3/3/202321401400
3/3/202333201500
3/3/20234401200

 

I was trying to create a line chart with 4 sets of lines (one solid, one dotted) to represent each productid, with 2 lines each; one for defective and one for accepted.

With the date in the x-axis field, and productid in the Legend field, I am unable to add more than 1 column in the y-axis field; hence am unable to create the 8 lines I was hoping to.

Was hoping to get some help here in this channel.

Any guidence is greatly appreciated!

Thank you!

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Great to know it helped! If it solved your problem, please mark it as solution ✔️

 

Regarding your question, please use the field in the following way:

  • Category: Date
  • Value 1: Accepted
  • Value 2: Defective
  • Legend: ProductID

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍

Thanks!
Best regards,
Joao Ribeiro

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

many thanks!

joaoribeiro
Impactful Individual
Impactful Individual

Hi @Anonymous ,

 

With the native line chart you can use the small multiples to open the chart per ProductID, as shown below:

joaoribeiro_0-1680608966184.png

 

Besides that, you have the "Advanced Line Chart" in the AppSource. Please find below how the free version looks like:

joaoribeiro_1-1680609237919.png

joaoribeiro_2-1680609280860.png

 

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍

Thanks!

Best regards,
Joao Ribeiro

 

Anonymous
Not applicable

Thanks @joaoribeiro This is really helpful. May I know what are the fields that should be input to achieve the lines you have on the advanced line chart? Thanks again!

curiouscat_0-1680652303157.png

 

Hi @Anonymous ,

 

Great to know it helped! If it solved your problem, please mark it as solution ✔️

 

Regarding your question, please use the field in the following way:

  • Category: Date
  • Value 1: Accepted
  • Value 2: Defective
  • Legend: ProductID

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍

Thanks!
Best regards,
Joao Ribeiro

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors