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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Microsoft PowerBi-Javascript NuGet package : WHERE ARE THE FILES?

https://github.com/microsoft/PowerBI-JavaScript

We installed the NuGet package in our PowerBI Embedded project... The readme states to use:

 

<script src="/powerbi-client/dist/powerbi.js"></script>

 Which simply doesn't exist.  Their github of course has "issues" shut down so there's zero way to communicate with the team that built said NuGet package. 

 

Can someone who worked on this NuGet package please let us know how to reference said files that upgrading said NuGet package?

 

4 REPLIES 4
Anonymous
Not applicable

+1 

What is the purpose of the Microsoft.PowerBI.JavaScript nuget package?  How do we reference powerbi.js when using this package?

Please provide working code samples that use this package.

 

Anonymous
Not applicable

What we ended up doing is installing the NuGet package in the project, then pulling the raw files out of the .nuget folder in your user directory for this package and manually putting them into our project.  Super annoying, but it's working for now.

Anonymous
Not applicable

Direct quote from their readme:

However, the library is exported as a Universal Module and the powerbi.js script can be included before your app's closing </body> tag as:

<script src="/powerbi-client/dist/powerbi.js"></script>

When included directly, the library is exposed as a global named powerbi-client. There is also another global named powerbi which is an instance of the service.

 

========

 

This simply is incorrect, this doesn't exist and we need to know how to find the files the NuGet package updates.

Anonymous
Not applicable

So looking at the PowerBi Javascript playground I see this in the source:

../node_modules/jquery/dist/jquery.js

../node_modules/es6-promise/dist/es6-promise.js

../node_modules/powerbi-client/dist/powerbi.js

 

This appears to be the preferred way to setup these libraries in our project, how do we do this?  We cannot find a single doc anywhere that describes setting up these modules via ES6.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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