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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
kobaldm
Helper I
Helper I

PowerBI Client 2.0 beta testing

In the bower-components folder there is demo folder. 

The Demo should show some new cool features how to interact from js with a report.

 

bower info powerbi-client --verbose

 e.g. 

bower install powerbi-client#2.0.0-beta.8

 

Sadly i get always an error message in app.js line 2

 

2:  var models = window['powerbi-client'].models;

ErrorMeassage: jQuery.Deferred exception: Cannot read property 'models' of undefined TypeError: Cannot read property 'models' of undefined at HTMLDocument.

 

Anyone got it to work ?

 

michael

 

 

6 REPLIES 6
wabreza
Microsoft Employee
Microsoft Employee

The `dev` branch is currently under active development.  If you are having trouble with bower please try NPM for the time being.

Checked out via NPM. Still you need to install via bower in the demo folder. 

I understand that this is under heavy development. It would be great to be able to test a beta version even at this early stage.

 

michael

 

wabreza
Microsoft Employee
Microsoft Employee

We are releasing to a `beta` tag in NPM.  For bower you can pull by git tag which should match the same NPM versions.

ok i found the error. Bower installs version 1.1.0 and not the beta version in the demo folder

 

the demo tries to load 

https://portal.analysis.windows-int.net

 

This server ist not reachable. I guess this server is internal to MS.

Perhaps it woiuld make sense to make the reports availible for everyone 😉

 

Will check the code for now. 

 

Thnaks 

michael

Hi there, 

 

using nuget with Visual Studio 2015 and the following command: Install-Package Microsoft.PowerBI.JavaScript -Pre

only tries to install the current version 1.1.0, not 2.0.0 beta .

Is there any way to install the beta in a asp.net project?

 

Best regards

wabreza
Microsoft Employee
Microsoft Employee

We haven't published the beta version on Nuget yet.  For now you can either reference the beta version via NPM/bower with beta tags.  Or you can clone the repo and build a local copy from https://github.com/Microsoft/PowerBI-JavaScript.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors