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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
My data looks like this. I want to create a line chart where the Date is the X axis, the Amount is the Y axis, and each company has it's own line. Can anyone help?
| Company | Date | Amount |
| Company A | 24-Jan | 1366 |
| Company A | 24-Feb | 1815 |
| Company A | 24-Mar | 1974 |
| Company A | 24-Apr | 1176 |
| Company B | 24-Jan | 1413 |
| Company B | 24-Feb | 1889 |
| Company B | 24-Mar | 1405 |
| Company B | 24-Apr | 1822 |
| Company C | 24-Jan | 1889 |
| Company C | 24-Feb | 1545 |
| Company C | 24-Mar | 1775 |
| Company C | 24-Apr | 1753 |
Solved! Go to Solution.
> In the Visualizations pane on the right, click on the Line chart icon.
>In the Fields pane, drag the Date column to the Axis field.
>Drag the Amount column to the Values field.
>Drag the Company column to the Legend field.
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Yes you can have the different lines for each company by dragging "company" column on the legend field of the line chart as shown in the below snapshot :
Yes you can have the different lines for each company by dragging "company" column on the legend field of the line chart as shown in the below snapshot :
> In the Visualizations pane on the right, click on the Line chart icon.
>In the Fields pane, drag the Date column to the Axis field.
>Drag the Amount column to the Values field.
>Drag the Company column to the Legend field.
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |