+ Reply to Thread
Results 1 to 6 of 6

Power Query--pass parameter to web query and separate result into three columns

  1. #1
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    388

    Power Query--pass parameter to web query and separate result into three columns

    Hello,

    I have a power query in the attached sample, in which I need help to achieve the following

    I am using excel 2016

    1. the Parameter is in Column B which should be passed to web query to give result in column C
    2. The Column C is returnig Date Month, Value and (Percent), I need these three data in seperate columns in D, E and F
    so D=30 May
    E=179.04
    F=(-0.92%)
    Attached Files Attached Files
    Last edited by 6StringJazzer; 06-01-2025 at 10:16 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,272

    Re: Power Query--pass parameter to web query and separate result into three columns

    Administrative Note:

    Welcome to the forum.

    The thread title "Power Query" does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to consider amending your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Guideline #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    I have updated your title for you to describe your question.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,957

    Re: Power Query--pass parameter to web query and separate result into three columns

    1. Why change the type of values in all the columns if you then remove all but the first column. Only change the type for column 1.
    2. Instead add this to your Mcode

    Please Login or Register  to view this content.
    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

  4. #4
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    388

    Re: Power Query--pass parameter to web query and separate result into three columns

    Quote Originally Posted by 6StringJazzer View Post
    Administrative Note:

    Welcome to the forum.

    The thread title "Power Query" does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to consider amending your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Guideline #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    I have updated your title for you to describe your question.
    Thank you for correcting me and the subject

  5. #5
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    388

    Re: Power Query--pass parameter to web query and separate result into three columns

    Quote Originally Posted by alansidman View Post
    1. Why change the type of values in all the columns if you then remove all but the first column. Only change the type for column 1.
    2. Instead add this to your Mcode

    Please Login or Register  to view this content.
    Getting error Expression.SyntaxError: Token Eof expected.
    Can you kindly help incorporting in the excel I have uploaded please

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2508 Win 11
    Posts
    24,957

    Re: Power Query--pass parameter to web query and separate result into three columns

    No errors in my file for your data as presented in your file.
    Attached Files Attached Files

+ 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. Suggestion: Add sub forum for Power Query, Power Pivot, DAX, Power BI & M Language
    By MohamedGadAllah in forum Suggestions for Improvement
    Replies: 6
    Last Post: 04-15-2025, 02:22 AM
  2. Replies: 5
    Last Post: 10-31-2023, 11:12 AM
  3. Power Query - Feeding dynamic sheet name to Power query
    By egoosen3 in forum Excel General
    Replies: 5
    Last Post: 09-13-2023, 07:41 AM
  4. [SOLVED] [Power Query] How to filter 0 from two columns in power query editor in one step?
    By daliye in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2023, 09:44 PM
  5. Replies: 1
    Last Post: 07-14-2023, 10:15 AM
  6. Replies: 4
    Last Post: 02-17-2020, 06:03 AM
  7. Sub-Forum for Excel Power Tools (Power Query, Power Pivot & Power BI)
    By chullan88 in forum Suggestions for Improvement
    Replies: 10
    Last Post: 06-28-2018, 02:25 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