Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Data transform using power query

Could you please someone suggest me for below issue. Thank you in advance.

I have below format data 

2026actual  budget  
 p1p2p3p1p2p3
revenue123456
food cost 789101112
       
2025actual  budget  
 p1p2p3p1p2p3
revenue123456
food cost 789101112

 

How can I transform this data to below format

 

subjectyearperiodActualbudget
revenue2026p114
revenue2026p225
revenue2026p236
food cost 2026p1710
food cost 2026p2811
food cost 2026p2912
revenue2025p114
revenue2025p225
revenue2025p236
food cost 2025p1710
food cost 2025p2811
food cost 2025p2912

 

2 ACCEPTED SOLUTIONS
v-echaithra
Community Support
Community Support

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.

View solution in original post

v-echaithra
Community Support
Community Support

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.

View solution in original post

6 REPLIES 6
v-echaithra
Community Support
Community Support

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.

v-echaithra
Community Support
Community Support

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.

v-echaithra
Community Support
Community Support

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.

Anonymous
Not applicable

Thank you for solving this issue. I helped me a lot.

lbendlin
Super User
Super User

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...

Anonymous
Not applicable

@lbendlin Thankyou for your recommendation. I updated the data sample. Can you please suggest how to do it?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Top Solution Authors
Top Kudoed Authors