This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a dataset which needs to be displayed as a line graph. The first column shows the company names (redacted in the screenshot) and the other columns show their financial status over the last 12 months.
I need to display this as a line graph showing any upwards or downwars trends in the last year, it will be filtered to only show one company at a time. But when I try to create a line graph using this data, it displays all the data points in a single vertical line.
How can I get this graph to display differently? Nothing I change seems to help.
Solved! Go to Solution.
Hi @S-M ,
Based on your requirements, you will need to first unpivot the data in power query.
Once that is done, try doing this
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos!
Kind regards,
Rohit
Hi @S-M ,
Try selecting the "Business Name" column in power query and then use the unpivot columns transformation. It should give you two new column, "Attribute" and "Value". Attribute will hold the period while the value will hold the related value.
If you then use the Attribute column as the x-axis in the line graph i believe you should get the overview that youre looking for.
Let me know how it goes!
Br,
Johannes
Hi @S-M ,
Based on your requirements, you will need to first unpivot the data in power query.
Once that is done, try doing this
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos!
Kind regards,
Rohit
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |