Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am trying to pull data that where I need to set the a 'SiteTag' number. And I have a list of 50 'SiteTag' numbers.
Is there a way that I can loop and combine them all into 1 table? It will be identical columsn with each query.
token = AccessToken,
range = "&BD=1/1/2021&ED=12/31/2021&SiteTag=",
p3286 = Json.Document(Web.Contents(api_base_url & token & range & "3286", [Headers = [#"Authorization"="Bearer "&token,#"Content-Type"="application/json"]])),
p4401 = Json.Document(Web.Contents(api_base_url & token & range & "4401", [Headers = [#"Authorization"="Bearer "&token,#"Content-Type"="application/json"]])),
I have 50+ 'p####' SiteTags to combine.
Thansk for the help and feed back.
I'mnt sure if that article will help as I'm not actually looping pages of website, but querying 50+ separate API calls/URLS to get the JSON data.
But I did find this tutorial in using a custom function, and do have this working. I still need to think the best way I want to generate the list of URLS, but this did help me here.
@ptmuldoon , refer if this can help
https://medium.com/@marktiedemann/how-to-do-pagination-in-power-query-430460c17c78
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |