Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Iterate over the Column [URLs] then replace that URL in Power Query source

Hi, i've been trying everything now still could not make it work   I've working on REST API and get the data from power BI service. So i need to get the source URLs which is static: They have one ...
  • v-jingzhang's avatar
    3 years ago

    Hi Anonymous 

     

    You could first transform the Query into a custom function which requires a parameter for the URL string, just like below. Let's call it fQuery. 

     

    Then go to the Table that has URLs, add a new column by invoking this custom function. Use URLs column for the File Parameter. This custom function will be invoked for every row in the table. 

     

    This is a more detailed document about Using custom functions in Power Query - Power Query

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.