Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

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.

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not 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.

Special characters in values

yingyinr_1-1649316774847.png

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not 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.

Special characters in values

yingyinr_1-1649316774847.png

Best Regards

MichaelWash
Helper I
Helper I

Try to pass %20

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.