Forum Discussion
StephenL_CA
3 years agoFrequent Visitor
Help needed to pass a dynamic parameter value to a dataset when embedding a report
Hi, I have a dataset that is the result of a stored procedure accepting an input parameter value. First, I have no issue to embed the report using JavaScript. But my web application, depending on th...
- Anonymous3 years ago
Hi StephenL_CA,
The error message seems related to the data source credentials, I think you may need to re-verify them before invoke the API to refresh.
Regards,
Xiaoxin Sheng
StephenL_CA
3 years agoFrequent Visitor
Ok, continue on the previous reply from myself. I overcome the error by adding TakeOver()
Also, I added RefreshDatasetsInGroup(), thinking that would refresh the report with new data loaded with the new parameter value. But no, the embedded report still has the old data. And when I go to Power Bi service the dataset I see:
Please, could you tell me what else is missing in my steps?
Anonymous
3 years agoNot applicable
Hi StephenL_CA,
The error message seems related to the data source credentials, I think you may need to re-verify them before invoke the API to refresh.
Regards,
Xiaoxin Sheng