Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi ,
I need to download All contacts from a survey.
query "Contacts" :
= Json.Document(Web.Contents("https://api.alchemer.eu/v5/survey/"&SurveyIdParameter&"/surveycampaign/"&CampaignIdParameter&"/surveycontact?&api_token=123456&api_token_secret=123456"))
SurveyIdParameter is a single value eneterd manually.
CampaignIdParameter is a query parameter that get a list of values
How do I "make" PQ to loop on the values of the CampaignIdParameter ?
Appreciating any help,
Tamir
Solved! Go to Solution.
Hi @Anonymous ,
You can transform your list to a table, create a new custom functon like this:
(A as text) =>
let
Source = = Json.Document(Web.Contents("https://api.alchemer.eu/v5/survey/"&SurveyIdParameter&"/surveycampaign/"&A&"/surveycontact?&api_token=123456&api_token_secret=123456"))
Invoke this function to the table to craete a new column to get each content.
Refer: Scrape Data from Multiple Web Pages with Power Query
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can transform your list to a table, create a new custom functon like this:
(A as text) =>
let
Source = = Json.Document(Web.Contents("https://api.alchemer.eu/v5/survey/"&SurveyIdParameter&"/surveycampaign/"&A&"/surveycontact?&api_token=123456&api_token_secret=123456"))
Invoke this function to the table to craete a new column to get each content.
Refer: Scrape Data from Multiple Web Pages with Power Query
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Add a custom column to construct each individual URL and fetch its contents, then combine the results as records or tables as needed.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |