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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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'

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yiruan-msft, 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

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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