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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.