Forum Discussion
Multiple web queries
i have a list of stocks in excel. I need to do a web query for each one of them with their own url.
In the next column, I have built the required url (which includes the stock symbol)
How can I automate or create all these requests, without having to create them individually ?
Thanks.
Hello serhito
you have to load this table into power query, add a new column where you access the data probably with Web.Contents using one or both columns in your table (I can't know what you are really looking for). Depending on what you will get from this data source you can pivot your first column. But I think you will get a table from your data source that however you have to transform, before you are able to get a single value.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
5 Replies
- Jimmy801
Community Champion
Hello serhito
you can add a new column and implement there your data access and using the url-column as parameter for it
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy- serhitoRegular Visitor
The ticker list is way longer than displayed and it will change over time.
How do I create a webquery based on the url in column B ? The output of that query would be in the yellow area for its respective ticker symbol.
Please note, I am not an expert at this.
- Jimmy801
Community Champion
Hello serhito
you have to load this table into power query, add a new column where you access the data probably with Web.Contents using one or both columns in your table (I can't know what you are really looking for). Depending on what you will get from this data source you can pivot your first column. But I think you will get a table from your data source that however you have to transform, before you are able to get a single value.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
- AnonymousNot applicable
Can i pull data from 2 different web urls ,for ex i have to pull data for 3 stocks from yahoo finance and the other one from https://www.marketwatch.com/investing/index/sxxf/download-data?startDate=1/2/2017&endDate=1/13/2022&countryCode=xx both the url doesn't have data in the same format