Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Foreach loop in PowerQuery

Hi, Maybe a stupid question but I'm kinda new to PowerQuery and was looking for something similar to a foreach.    Basically what I'm trying to do is perform an API call and from results in the fi...
  • PhilipTreacy's avatar
    5 years ago

    Hi Anonymous 

     

    I've got a blog post that deals with just this situation but I don't know the rules here for linking out to such things so I won't.

     

    Using a custom function may do the job but without knowing a lot more about what it is you are actually trying to achieve, it's very hard to give you a solution.

     

    What API are you using?

     

    What data does the 1st query return?

     

    How do the 2nd queries get affected by this?

     

    How do you want to change the URL in the 2nd query/ies.

     

    Regards

     

    Phil