Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I'm not familar with javascript build tool.
How to run the code in here: https://github.com/Microsoft/PowerBI-JavaScript
I tried npm run build, npm start, not working.
I guess it's use different build tool.
Thanks
Aaron
Solved! Go to Solution.
Hi Aaron,
1. You need a web server to get this website work. The IIS is recommended.
2. Install all the css and js packages. Please refer to PowerBI-JavaScript. (We need to install other packages other than "powerbi-client".
npm install --save powerbi-client npm install --save bootstrap
3. It looks like this finally.
Best Regards,
Dale
I have a similar question, I installed the nuget package Microsoft.PowerBI.JavaScript 2.10.2.
In my view, I have the following line:
<head>
<script type="text/javascript" src="scripts/powerbi.js"></script>
</head>
I realize that this is referencing a local copy of this script that I have to put in the scripts folder. This works fine, even without installing the package mentioned above.
My question is, how do I get my view to reference the powerbi.js that comes with the nuget package Microsoft.PowerBI.JavaScript 2.10.2? Or am I not understanding how this is supposed to work?
Hi @aaronchen,
Did you make it?
Best Regards,
Dale
Hi Aaron,
1. You need a web server to get this website work. The IIS is recommended.
2. Install all the css and js packages. Please refer to PowerBI-JavaScript. (We need to install other packages other than "powerbi-client".
npm install --save powerbi-client npm install --save bootstrap
3. It looks like this finally.
Best Regards,
Dale
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |