Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext 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
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 30 | |
| 30 | |
| 23 |