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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Line chart from 3 tables

Hi,

I have 3 tables as below:

ManufTable:

ManufIdManufName
1ManufA
2ManufB
3ManufC

 

MonthTable:

MonthIdMonthShortNameMothFullName
1Jan-19January
2Feb-19February
3Mar-19March
4Apr-19April
5May-19May
6Jun-19June
7Jul-19July
8Aug-19August
9Sep-19September
10Oct-19October
11Nov-19November
12Dec-19December

 

SalesTable:

ManufIdMonthSales
11689200
12852624
13427710
14559398
15549769
16183417
17126708
18203347
19631240
110868961
111166726
112152378
21486075
22628491
23416089
24664931
25378287
26418267
27454814
28701295
29576266
210244606
211591859
21231740
31311089
32392370
33479272
34252425
35324161
36830742
37448548
38188729
39261155
310207371
311557076
312889613

 

Based on 3 tables above, how can I show the 3 lines of ManufA, ManufB and ManufC, which gives sales(Y-Axis) from Jan to Feb-19(X-Axis)?

 

Appreciate your help. Thank you.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

Make the following relationships:

  • Manuf - Sales -> one to many
  • Month - Sales -> one to many

Then create a line chart with the following format:

  • Axis - MonthShortName
  • Legend - ManufName
  • Values - Sales

You can then use a slicer to filter the months.

 

Check PBIX file attach.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous ,

 

Make the following relationships:

  • Manuf - Sales -> one to many
  • Month - Sales -> one to many

Then create a line chart with the following format:

  • Axis - MonthShortName
  • Legend - ManufName
  • Values - Sales

You can then use a slicer to filter the months.

 

Check PBIX file attach.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Anonymous
Not applicable

Perfect! Thank you so much. Just as I wanted it to be 🙂 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.