Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
We have a parameter as State.
Based on the parameter value powerbi should connect to different sales tables, like US_Sales, UK_Sales etc.
this report is published on powwerbi service and embedded in a power apps portal application.
Using Update Parameter REST API is not allowed within our tenant so cannot use this API to set the parameter value before powerbi loads and connects with the desired table according to the parameter.
Is there any way we can pass the parameter value to powerbi so that this parameter value can be referenced on the db name so that powerbi can connect to correct table?
Solved! Go to Solution.
Hi. Usually there are three ways I have seen for parameters in service. The problem is that if you can't use the PowerBI Rest API you can only do it manually.
1- Use Azure DevOps to set parameters triggered (Rest API)
2- Write your own script anywhere (azure or local) posting an update of params with Rest API.
3- Manual change of the params each time you published a .pbix. You can read more about this one here: https://blog.ladataweb.com.ar/post/190252470550/parametros
It sounds weird the fact that you can't use the API. The request for the update parameters in group won't need a concent from the Admin to work. The only permission you need is the one to register an app in azure (or power bi). The request would be this one https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters-in-group
I hope that helps,
Happy to help!
Hi. Usually there are three ways I have seen for parameters in service. The problem is that if you can't use the PowerBI Rest API you can only do it manually.
1- Use Azure DevOps to set parameters triggered (Rest API)
2- Write your own script anywhere (azure or local) posting an update of params with Rest API.
3- Manual change of the params each time you published a .pbix. You can read more about this one here: https://blog.ladataweb.com.ar/post/190252470550/parametros
It sounds weird the fact that you can't use the API. The request for the update parameters in group won't need a concent from the Admin to work. The only permission you need is the one to register an app in azure (or power bi). The request would be this one https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters-in-group
I hope that helps,
Happy to help!