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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ArunKumar3333
New Member

Power Query Possibility

I have a question below is the sample dataset , i want to append all the tables , so the result will be similar to the another pic , is this possibile , can anyone share me the steps pls 

 

ArunKumar3333_0-1693222068328.png

 result , like this for other companies and month and sub abc , def , ghi too 

ArunKumar3333_1-1693222151458.png

 

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the MS Excel file with 3 tabs - one for each tables that you have shown in your image.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ArunKumar3333
New Member

is it possible for you to share the pbix file too pls ?

JoeBarry
Solution Sage
Solution Sage

Hi @ArunKumar3333 

 

Import the Excel as it is.

 

  • Remove the first Row with Year and the Months in it
  • Then choose Use First Row as headers. Rename each column to ABC-1, DEF-1, GHI-3 ..... the number represents the month number.
  • Highlight all columnns except for the customer column and right click and choose unpivot columns
  • Add a custom column and call it year and type in the Year convert to text
  • Then highlight the column called Attribute, this should contain the Column name and month number.
  • Go to the transform tab and choose splitt by delimter. It automatically chooses - as the delimter but if it doesn't please choose this. This will create an Attribute.2 column.
  • We now need to create a date column. Add a custom column and name it Date
  • Add this code

 

 

"01/" & [Attribute.2] & "/" & [Year]​

 

 

  • Convert to date

Repeat for the other tables and make sure that all column names are the same in each table and Append all the tables together.

 

JoeBarry_0-1693223598652.png

 

Thanks

Joe

 

If this post helps, then please Accept it as the solution

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors