Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Experts
I'm accessing the REST API URL as a direct query data source through the CData Power BI Connector for REST but the current URL has a hard coded value but how could I pass parameter dynamically in the power bi.
I have created 2 columns in the schema (JSON) which can be used as a parameter- pease see the below
<input name="effectiveDate" required="true"/>
<input name="prodId" required="true"/>
and change the URL to http://hotsname/sources/DimSales?rs:effectiveDate=[_input.effectiveDate]&rs:prodId=[_input.prodId]&r...
And also created Parameters in the Power BI with the same names (effectiveDate, ProdId) and assigned these to Query dataset in the M Query but got the below error.
Hi @Anonymous ,
Hope these documents can help you:
Parameters for JSON API data - Maintain Query daily;
Dynamic connection to Web URL.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 29 | |
| 27 |