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

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.

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
Employee
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

 

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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