cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xmark Regular Visitor
Regular Visitor

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

3 REPLIES 3
zoloturu
Advisor

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!

xmark Regular Visitor
Regular Visitor

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?

zoloturu
Advisor

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!

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 116 members 1,465 guests
Please welcome our newest community members: