March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a data table with columns of data for each different month.
And I need to get a graph showing the evolution of the Values in time, showng the average value of the corresponding column for each month. Something like this:
I just can't find a way to build the graph. Even tried to buid additional tables. Can someone help me with some information on how to get it?
Thanks in advance,
Solved! Go to Solution.
Hi @dbalaciano,
In your scenario, you can use the Unpivot Columns options under Query Editor > Transform tab to get a Month column and a Value column.
In the Query Editor
1) select the all the month(JAN, FEB, etc) Columns.
2) Transform tab - Unpivot Columns
3) Rename the Attribute and Values columns - Month and Percentage.
Regards
Thanks for your help with the other solutions, but I can't make it work with that because I have all 12 months but my list of projects tends to infinity. The values for each month are in different columns. Below is a simplification of my data structure and the graph I need to obtain showing the sum per group each month. Please ignore the blue line.
When I use the solution proposed above of selecting all months and clicking on unpivot (mi data is being extracted from a live shepoint list), it says "error" on every cell of the columns.
Is there any other solution?
Regards,
Hi @dbalaciano,
According to your description above, you should be able to use the Line Chart visual with your Month column as Axis, and the corresponding column as Value with aggregation of Average.
If it doesn't work in your scenario, could you post your real table structures with some sample data, so that we can better assistant on it? It's better to share a sample pbix file. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.
Regards
Thanks for your help, but I can't make it work like that because I don't have a month column. I have the values for each month in different columns. Below is a simplification of my data structure and the graph I need to obtain showing the average per group each month. It seems simple, but I just can't find a way to use different columns as X axis in the graph.
Regards,
Diego
Hi @dbalaciano,
In your scenario, you can use the Unpivot Columns options under Query Editor > Transform tab to get a Month column and a Value column.
In the Query Editor
1) select the all the month(JAN, FEB, etc) Columns.
2) Transform tab - Unpivot Columns
3) Rename the Attribute and Values columns - Month and Percentage.
Regards
That worked perfectly!
Thank you for your help.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
146 | |
97 | |
79 | |
69 |