Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
Greetings,
I'm currently working on exporting embedded reports through the use of Power Bi REST Api using the exportToFile endpoint. This has been working nicely however, the pdfs always return with the default look of the report regardless of what slicer values the user picked before exporting.
After investigating a bit, I concluded that capturing a bookmark using report.bookmarksManager.capture() available through the javascript Api and using it's state property in the ExportToFile request would be the best solution.
However the resulting pdf always returns like the image below, what am I doing wrong?
returning pdf
Did you find an answer to this question? I'm experiencing the exact same thing. Thanks!
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
