I am currently using the "App Owns Data" Web app to embed my reports,
Is it currently possible to pass parameters to the report before its loaded? I know you can pass filters but this is not sufficient for what i want to achieve.
Ideally i would like to be able to pass a parameter to my web app, then this gets passed into the report which changes the source and database name of the data being shown.
This would save having to create a new report for each system, providing we use the same SQL schema.
Any Information on this would be much appreciated.
You can use the "Set parameters" API for this: https://msdn.microsoft.com/en-us/library/mt845781.aspx
POST https://api.powerbi.com/v1.0/myorg/groups/ {group_id}/datasets/{dataset_id}/UpdateParameters
{
"updateDetails": [
{
"name": "MaxId",
"newValue": "5678"
},
{
"name": "StrParam",
"newValue": "Another Hello"
}
]
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.