+ Reply to Thread
Results 1 to 5 of 5

Excel Power Query 'Custom Column"

  1. #1
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    778

    Excel Power Query 'Custom Column"

    Hi all,
    I'm trying to add a custom column but as soon as I click the query gets the 'yellow !' and an error message is returned.

    It's a standard youtube tutorial, and I have made it work in the past. The custom column function is; Table.ColumnNames.

    It's only the custom column that causes the instant error on the 'query' conditional works fine.

    If anyone can help Workbook attached.

    Richard.
    Last edited by Dicken; 10-26-2021 at 09:34 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Excel Power Query 'Custom Column"

    Hi,

    Not sure I understand. You have

    each TableTable

    but that should obviously be

    each Table

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    778

    Re: Excel Power Query 'Custom Column"

    Hi XOR,
    That's the point I'm not as soon as I click custom column I get an error on the query ; on the left pane,
    I enter ; TableTable.ColumnNames[Content]), this is selected from the drop down options when Table. is typed in,
    I then click ok and get; Expression.Error: The name 'TableTable.ColumnNames' wasn't recognized. Make sure it's spelled correctly.

    As I'm not actually spelling anything myself I think that's probably correct. Still stuck.

    RD

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Excel Power Query 'Custom Column"

    So just type in "Table" instead of "Table." for the intellisense then autocomplete will work fine.

    Regards

  5. #5
    Forum Contributor
    Join Date
    08-03-2021
    Location
    London
    MS-Off Ver
    365
    Posts
    778

    Re: Excel Power Query 'Custom Column"

    Hi XOR,
    It started returning the same error for Excel.CurrentWorkbook aslo, so I deleted the whole file and re -downloaded, and it now seems to be returning the correct list of column names. Thanks though as the advice on typing in is bound to come in useful at some point.
    I shall mark this as solved, and give rating.

    RD

+ 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 Custom Column syntax help
    By L.J. in forum Excel General
    Replies: 6
    Last Post: 11-12-2019, 03:45 PM
  2. Custom Permutations Column in Power Query from two columns in the same Query
    By PaintPaddy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2019, 02:48 PM
  3. [SOLVED] Power Query Custom Column Formula
    By whiskeybravo91 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-06-2018, 11:10 AM
  4. Power Query Custom Column Formula
    By whiskeybravo91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2018, 09:57 AM
  5. [SOLVED] Power Query Custom Column: If number in columns a or b are less than 1 then 0 else 1
    By jekeith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2018, 10:31 AM
  6. [SOLVED] Insert a date value as a Custom Column in Power Query
    By heytherejem in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2018, 12:42 PM
  7. Help with Power Query Custom Column Formula
    By travis.cook21 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-16-2016, 01:45 PM

Tags for this Thread

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