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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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