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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.