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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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