Forum Discussion
Append Query duplicates some columns
- 9 years ago
Oh my word...!!!
So, before I basj myself over the head, let me share my mistake with you...
The issue was quite definitely different column names - there were some trailing spaces in the names of the 4 columns in my 2nd table. I had however checked for this earlier, within Excel, using a pattern match to identify any spelling differences, howeve it appears that the Excel pattern match excluded trailing spaces, and thus did not alert me to the fact that the column names were in fact not the same.
Ah well, thanks for listening... ;-)
An additional possbility which I've just discoverd (after seeing the solution here that lead me towards it), is that it might not always be leading or trailing spaces in Excel column names, but in my case it was a line break that had been added to a column header in excel, so that the 2nd word of the header was forced on to a 2nd line. I removed the line break and re-imported in to PowerBI and the copy of the column was no longer there.