+ Reply to Thread
Results 1 to 2 of 2

power query help needed with Parameter Setting

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Rotterdam
    MS-Off Ver
    2016
    Posts
    28

    power query help needed with Parameter Setting

    Hello all,


    I have a problem with power query. I hope someone can help me with the following problem:

    In excel I created a "ParameterTable". The table is as follows:

    Parameter Value
    JobDes_1 xxx
    JobDes_2 yyy

    I would like to integrate the parameters in query. This allows users to change the parameters in Excel easily without having to update the query manually.*

    Previous query:

    JobDescription ='xxx' or*JobDescription ='yyy'

    I would like to change this part to:*

    JobDescription = fParameter("ParameterTable", "JobDes_1")



    However, I get the following error:*Expression.SyntaxError: Token Comma expected. The error underlines "ParameterTable"

    fParameter is a blank query by the way.*

    Can you help me with this?

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

    Re: power query help needed with Parameter Setting

    Because it says you are missing a comma, I think this video will explain and help you to make sure that you have settings correct. Without seeing your Mcode, it is difficult to determine your needs.

    https://www.youtube.com/watch?v=h42vv5cq0PY
    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

+ 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. Power Query - Privacy Setting Error.
    By saurab8 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2020, 07:04 PM
  2. 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
  3. [SOLVED] Power Query Filter by Date Parameter
    By tkrupka in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2019, 10:08 AM
  4. Power Query SQL (Source) run with manual table parameter?
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2019, 09:03 PM
  5. Power Query: Using a Parameter to specify a source table name.
    By learning new things in forum Excel General
    Replies: 0
    Last Post: 11-06-2018, 04:21 PM
  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

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