Forum Discussion
Powerbi embed report - pass only space as url parameter value
Hi,
1.
I am trying to pass URL parameters to the embed report in my application and couple of the parameters value expects a single space:
'&rp:SubDepartmentIdList= &rp:DepartmentIdList= '
It does not display only space is not accepted as a passed parameter value.
When I pass + instead of space, it takes it as + only, reference https://docs.microsoft.com/en-us/power-bi/paginated-reports/report-builder-url-pass-parameters
How can I acheive this.
2. Additionally, the embed report does not auto render when after execution of below statement from my app for null parameters:
var report = powerbi.embed(reportContainer, config);
I have enabled the parameter to accept null values in the powerbi report builder.
- Anonymous4 years ago
Hi Anonymous ,
Please update the URL as follow just as suggested by Anonymous :
https://xxxx?xxx&rp:SubDepartmentIdList=%20&rp:DepartmentIdList=%20 You can refer the following documentation to get more details.
Best Regards
2 Replies
- MichaelWashHelper I
Try to pass %20
- AnonymousNot applicable
Hi Anonymous ,
Please update the URL as follow just as suggested by Anonymous :
https://xxxx?xxx&rp:SubDepartmentIdList=%20&rp:DepartmentIdList=%20 You can refer the following documentation to get more details.
Best Regards