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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.