Reply
Regular Visitor
Posts: 20
Registered: ‎09-27-2017

Fast moving data in Power BI embedded

Hi all,

 

I have a solution that I am trying to design to support Power BI embedded (app owns data for ISV), and fast moving data.

 

I cannot use push data sets unfortunately, since they dont support RLS which is a mandatory requirement for me.

 

I am simply going to push data into a DB and use Direct Query, but I had some questions I cannot find answers too online:

 

1. In order to avoid the user always hitting refresh on the page to view minute-by-minute data changes, can I use the client side JavaScript SDK to refresh the Power BI visuals? Ideally, the graphs/visuals should update without the user touching anything.

 

2. In extention to the above question, would a programatic refresh of the visuals count as a "render" with respect to costing?

 

Thanks.

Mark

Advisor
Posts: 307
Registered: ‎01-16-2018

Re: Fast moving data in Power BI embedded

Hi @xmark,

 

In Javascript SDK you have two options:

1) Reload (it will reload iframe)

2) Refresh (it is similar to refresh button in PBI Desktop)

 

js sdk.JPGjs sdk

 

Microsoft Javascript Example - https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!

Regular Visitor
Posts: 20
Registered: ‎09-27-2017

Re: Fast moving data in Power BI embedded

Hi @zoloturu

 

Thanks for the reply, do you know if/how either of these options affect the report renders with respect to pricing?

Advisor
Posts: 307
Registered: ‎01-16-2018

Re: Fast moving data in Power BI embedded

Hi @xmark,

 

In Power BI Service you pay for:

* Power BI Service license (Pro)

* capacity (if applicable) - Power BI Embedded (price/hour) and Power BI Premium (price/month)

 

You can still embed without capacity.

 

No additional costs applied for scripting and using SDKs.

 

Regards,
Ruslan
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!