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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Diegomon
Frequent Visitor

Missing allowedEvent for "report" using Power BI embedded analytics Client APIs vs using sandbox

When I am using the Embedded Analytics Playground I see the "report" element having 20 allowedEvents, however, when I am building my own ASP.NET app for embedding a report (using the code provided by Microsoft in github), I just get 17 events, missing "info", "renderingStarted" and "blur"... Why is it happening? I already tested it in chrome and edge

 

Untitled.jpg

 

1 ACCEPTED SOLUTION
Diegomon
Frequent Visitor

I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents

Diegomon_0-1730336429703.png

I had to:

  1. download the library from: https://www.jsdelivr.com/
  2. replace the minified version with the complete version and its map
  3. update the code

Diegomon_1-1730336491456.png

It is working now.

View solution in original post

2 REPLIES 2
Diegomon
Frequent Visitor

I found the problem, I was using the minified version of powerbi-client which does not contain "info", "renderingStarted" and "blur" allowedEvents

Diegomon_0-1730336429703.png

I had to:

  1. download the library from: https://www.jsdelivr.com/
  2. replace the minified version with the complete version and its map
  3. update the code

Diegomon_1-1730336491456.png

It is working now.

HI,@Diegomon 
We are delighted that you have found a solution and are willing to share it.

 

Accepting your post as the solution is incredibly helpful to our community, as it enables members with similar issues to find answers more quickly.

 

Thank you for your valuable contribution to the community, and we wish you all the best in your work.

 

Best Regards,

Leroy Lu

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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