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 moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Could you please someone suggest me for below issue. Thank you in advance.
I have below format data
| 2026 | actual | budget | ||||
| p1 | p2 | p3 | p1 | p2 | p3 | |
| revenue | 1 | 2 | 3 | 4 | 5 | 6 |
| food cost | 7 | 8 | 9 | 10 | 11 | 12 |
| 2025 | actual | budget | ||||
| p1 | p2 | p3 | p1 | p2 | p3 | |
| revenue | 1 | 2 | 3 | 4 | 5 | 6 |
| food cost | 7 | 8 | 9 | 10 | 11 | 12 |
How can I transform this data to below format
| subject | year | period | Actual | budget |
| revenue | 2026 | p1 | 1 | 4 |
| revenue | 2026 | p2 | 2 | 5 |
| revenue | 2026 | p2 | 3 | 6 |
| food cost | 2026 | p1 | 7 | 10 |
| food cost | 2026 | p2 | 8 | 11 |
| food cost | 2026 | p2 | 9 | 12 |
| revenue | 2025 | p1 | 1 | 4 |
| revenue | 2025 | p2 | 2 | 5 |
| revenue | 2025 | p2 | 3 | 6 |
| food cost | 2025 | p1 | 7 | 10 |
| food cost | 2025 | p2 | 8 | 11 |
| food cost | 2025 | p2 | 9 | 12 |
Solved! Go to Solution.
Hi @Anonymous,
The updated PBIX file is attached for your reference.
Here, the data has been reshaped to the required format (Subject, Year, Period, Actual, Budget) using Power Query so that it can be used directly for reporting and further analysis.
Please review the updated file and let us know if everything looks good or if any additional adjustments are needed.
Thank you.
Hi @Anonymous ,
We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.
Best Regards,
Chaithra E.
Hi @Anonymous ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.
Hi @Anonymous ,
We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.
Best Regards,
Chaithra E.
Hi @Anonymous,
The updated PBIX file is attached for your reference.
Here, the data has been reshaped to the required format (Subject, Year, Period, Actual, Budget) using Power Query so that it can be used directly for reporting and further analysis.
Please review the updated file and let us know if everything looks good or if any additional adjustments are needed.
Thank you.
Thank you for solving this issue. I helped me a lot.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
@lbendlin Thankyou for your recommendation. I updated the data sample. Can you please suggest how to do it?
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.