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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.