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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
project101
Frequent Visitor

Unable to get property 'powerBiEmbed' of undefined or null reference

i'm using embed power bi script > html file 

code >>

var embedContainer = $('#embedContainer')[0];
var report = powerbi.embed(embedContainer, config); ( >> thr error ) 

 

error >>

the error on debug window (F12)   

Unable to get property 'powerBiEmbed' of undefined or null reference

 

i can view the report with >> <div id="reportContainer"> </div>

 but can't define report element 

 

ref >>

<script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"></script>
<script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"></s...>

 

 

 

 

1 REPLY 1
sadiq2020
Regular Visitor

getting the same error. Is there any resolution?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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