+ Reply to Thread
Results 1 to 7 of 7

PQ not Appending tables correctly and creating a null column

  1. #1
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    PQ not Appending tables correctly and creating a null column

    Hi all, I am looking for a suggestion on what can be wrong.

    I have several sets of tables that I append using PQ. On the whole everything is fine, except for one set. Each set is made up of two tables only to give me a resultant table.

    The source data is two tables.
    The headings are the same (because they have been copied/pasted).
    The Data structures are the same in the both tables. PQ determines the same data type in both tables.
    So all looks good.

    However, with this one query, there is one pair of columns that PQ does not want to recognise as being same, despite the headings being copied/pasted, and the data type being the same.

    So what happens is this....

    Where table 1 is appended to table 2 ie the last row of table 1, meets first row of table 2, the column headings are not recognised and so an extra "null" column is added to the resultant table.

    It does not mater which way I join the tables, the result with the extra column is the same.

    Any ideas would be greatly appreciated.

    Jeff

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: PQ not Appending tables correctly and creating a null column

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: PQ not Appending tables correctly and creating a null column

    Thanks for the quick reply Alan. I an aware that adding files can aid the solution, however, i am sure that you can appreciate it is not always possible to supply data, especially if the client says NO and cant reproduce dummy data either.

    Hence the amount of detail i put in the post to see if anybody has some ideas.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,887

    Re: PQ not Appending tables correctly and creating a null column

    Jeff,
    I understand your situation, but from my perspective, it is difficult to analyze issues without seeing the data. Hope someone else will be able to help, but I decline to take this further. Good Luck.

    Alan

  5. #5
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: PQ not Appending tables correctly and creating a null column

    Problem Solved.....

    Note sure why the copy/paste column headers didn't work, buy I renamed the offending column with the single letter A, and the problem has been resolved.

    thanks anyway Alan.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: PQ not Appending tables correctly and creating a null column

    I was going to say that you must have a column mismatch.

    Please mark solved.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: PQ not Appending tables correctly and creating a null column

    oops - thanks Ali...forgot that part :-(

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Power Query: Appending Tables
    By andrewc in forum Excel General
    Replies: 4
    Last Post: 08-26-2021, 09:48 AM
  2. [SOLVED] Creating a Clustered Column Graph from two separate tables?
    By S7ewie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2021, 07:24 AM
  3. Macro may be creating a null value column header
    By Gene@action in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-24-2014, 03:03 PM
  4. Replies: 0
    Last Post: 02-05-2014, 02:49 PM
  5. Appending Data in Linked Tables in Access
    By nickelcell1 in forum Access Tables & Databases
    Replies: 1
    Last Post: 04-03-2011, 08:19 PM
  6. appending tables
    By ronster in forum Excel General
    Replies: 6
    Last Post: 01-20-2011, 10:17 PM
  7. [SOLVED] Automatically appending two tables of data into a third table
    By robertguy in forum Excel General
    Replies: 7
    Last Post: 02-24-2010, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1