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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.