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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors