+ Reply to Thread
Results 1 to 7 of 7

Power Query Parameter Conflict in Types

  1. #1
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    302

    Power Query Parameter Conflict in Types

    I have a Query that goes to a file on our system - the location and name is provided by par_COBRANCH (see attached File)


    The M Code for the Query is

    l
    Please Login or Register  to view this content.



    When I refresh this Query I get the following error on the execution of the first row of the Query

    Expression.Error: We cannot convert a value of type List to type Text.
    Details:
    Value=[List]
    Type=[Type]

    I got the same message when instead of converting the parameter to a List I converted it to a Table.


    Does anyone have any ideas?

    Thank You

    Allister
    Attached Files Attached Files
    Last edited by AllisterB; 04-10-2021 at 05:41 AM.

  2. #2
    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,719

    Re: Power Query Parameter Conflict in Types

    Sorry - I can't see this query in the workbook. I can see only two connection only queries.
    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.

  3. #3
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    302
    Dorry

    The query connects to a file on my system which I that I can't share. I thought that the the reason for the error may have been evident from the code...

    Kind Regards

    Allister

  4. #4
    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,719

    Re: Power Query Parameter Conflict in Types

    Not to me. I understand the error message, as I am sure do you, but I can't troubleshoot it using the attached file.

    Sorry.

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Power Query Parameter Conflict in Types

    Why have you converted the parameter to a list in the last step?
    Rory

  6. #6
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    302
    Thank you for your reply. I was wanting to use it as a list in Manage Parameters..
    Last edited by AllisterB; 04-10-2021 at 09:58 PM.

  7. #7
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Power Query Parameter Conflict in Types

    But why? It's a single value.

+ 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. Parameter Value for Power Query
    By AllisterB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2021, 04:32 AM
  2. Create a Parameter Query for US Stocks in Power Query
    By alansidman in forum Tips and Tutorials
    Replies: 0
    Last Post: 10-24-2020, 06:36 AM
  3. power query help needed with Parameter Setting
    By prinsr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2020, 12:18 PM
  4. Updating a Parameter through VBA in Power Query
    By RAC81_12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2020, 09:49 AM
  5. [SOLVED] Power Query Filter by Date Parameter
    By tkrupka in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2019, 10:08 AM
  6. Power Query - Parameter not working
    By vibajajo64 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-20-2018, 01:08 AM
  7. Dynamic Parameter Using Power Query
    By NeedForExcel in forum Excel General
    Replies: 1
    Last Post: 06-16-2016, 02:51 AM

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