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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

PowerBI.Bootstrap not working, NPM Powerbi-Client 2.9.0

Hey all,

 

2.9.0 introduced a function called powerbi.bootstrap. I tried implementing it conform this article: https://github.com/Microsoft/PowerBI-JavaScript/wiki/Bootstrap---For-Better-Performance

 

Afaik, I have all the correct versions and JS references set up to run bootstrap and PBI properly and I can only deduce that the function might not be included in the 2.9.0 version of NPM. Below are pictures of the code, versions and references.

 

Help would be much appreciated.

 

bootstrap1.pngbootstrap2.pngbootstrap3.png

 

 

3 REPLIES 3
Meenatchi
New Member

Am facing same issue ,couldn't import bootstrap in react. have imported like

import { bootstrap } from 'powerbi-client'
installed latest version -  "powerbi-client": "^2.23.1",

Meenatchi_0-1713275324148.png

 

Anonymous
Not applicable

I'm having the same issue. Just downloaded the latest SDK 2.10.4 and powerbi.bootstrap does not seem to be there.

Anonymous
Not applicable

Hey,

 

Unfortunately I cannot recall how I got this to work. All I can tell you is that I use the CDN's for PowerBI, bootstrap, popper and JQuery. Make sure that the CDNs are in the correct order.  Good luck.

 

 

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors