Forum Discussion
Rest API With User Selected Parameters As Data Source
- Anonymous8 years ago
RockOfRockyTop,
To add data source parameter in your URL, please check my reply in the following similar threads.
http://community.powerbi.com/t5/Desktop/Dynamic-connection-to-Web-URL/m-p/346607#M155589
https://community.powerbi.com/t5/Integrations-with-Files-and/Parameters-for-JSON-API-data-Maintain-Query-daily/m-p/157925/highlight/true
After create reports in Power BI Desktop, you may also need to create Power BI template file for user to instantiate.
Regards,
Lydia
Anonymous thank you for your response. I'm now pulling data from my API. My follow up question is this, I'm going to have multiple API calls that will use the same Start and End dates. Is there any way to select these dates and all of the queries use them?
RockOfRockyTop,
Do you have multiple connections for these API calls in PBIX file? If so, these queries can use the startdate parameter and enddate parameter you create.
Regards,
Lydia
- RockOfRockyTop8 years agoFrequent Visitor
Anonymous, I will have multiple connections for the API calls. How do I reference the parameters that I created for the first call? Is there an example somewhere that I can reference?
- RockOfRockyTop8 years agoFrequent Visitor
I found how to add global parameters. Thank you for your help.
- Anonymous7 years agoNot applicable
RockOfRockyTop Could you share how did you do it please?