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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Append Queries as New

I receive an Excel workbook every month with sales data from a customer. After four months of reports, the customer changed the formatting of the workbook. My report includes the last 12 months of data so I need to get the information from both workbook formats.

 

I setup folders for each format, put the workbooks in the appropriate folder, and created a query for each set of files. The final result is two data tables that have indentical columns including the data type and column names down to the same capitalization. Everything appears to be perfect. However, when I run Append Queries as New no errors are generated, but a new column is created for City, ST, and Zip and added to the query. The new columns have a 2 after the column name. The original columns are still in the output. Nothing is removed.

 

When I go to each query, copy the table, and paste it into a new Excel workbook, everything looks like the end result that I want. I spent hours trying to resolve this issue including rebuilding my queries completely multiple times. Any suggestions are GREATLY appreciated.

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

spaces in column names (leading or trailing)?

upper or lower case differences?

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

spaces in column names (leading or trailing)?

upper or lower case differences?

Anonymous
Not applicable

Thank you, HoChilli! It was a caps issues. Bill-To State - Bill-to State. Something I missed when I recreated the the Append query for the nth time after correcting bigger errors.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.