Reply
bytesizetrainer
New Member

Embedded Report API - setZoom

Tried to use the Set Zoom API mentioned in the Embed Analytics Playground.

But returns an error saying that the setZoom is not a function.

 

I have Setup Zoom as a Button on my App. The button press triggers below code. What could I be missing.

 

 

$('#zoomBtn').click(function(){
 const report = powerbi.embeds[0];
 report.setZoom(0.25);
})

 

 

0 REPLIES 0
avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)