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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cristian87
Regular Visitor

PDF API export set slicer value

Hi, I'm trying to export a report using the API.

I check this documentation "https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to" and works.

But now I´m trying to set one value in a slicer and It's not working.

How can I do that?

 

5 REPLIES 5
cjbowman69
Advocate I
Advocate I

Did this ever get resolved? Having a similar issue

subin_ms
New Member

I am also facing the same issue. Even passed any filters the slicers will always shows 'All'

Anonymous
Not applicable

Hi @cristian87 ,

Are you using the following API to export reports to PDF? When you apply the slicer to filter the data, can't you export to PDF properly? Or can't export the filtered data to PDF? Is there any error message reported? 

Reports - Export To File

Please check the following limitation scenario to see if you have hit any limitation when export report to file .

yingyinr_0-1635756185286.png

Best Regards

Hi @Anonymous, thanks for the response.

 

Yes, I´m using that API, the problem is that the slicer doesn´t take the value that I sent in the filter.

The report is exported, but with no data.

 

Best Regards

Anonymous
Not applicable

Hi @cristian87 ,

How did you set the parameter for the REST API? Is the parameter circled in the screenshot below filled in with the report id?

yingyinr_0-1635934900592.png

Get report idGet report id

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.