Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |