This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
This blog post covers the latest updates for Power BI Developers community. Don’t forget to check out the September blog post, if you haven’t done so already.
We have a lot of resources out there for you on how to use the Azure SKUs, so we gathered some of the most important ones here:
Note- in all use cases, you must have at least 1 Pro license to be able to share content.
|
A SKU (Power BI Embedded) |
EM SKU (Power BI Premium) |
P SKU (Power BI Premium) |
|
| Purchase through | Azure portal | Office | Office |
| Use cases | 1. Embed content in your own application | 1. Embed content in your own application
2. Share content with Power BI FREE users outside PowerBI.com and embed in other SaaS applications (SharePoint, Teams) |
1. Embed content in your own application
2. Share content with Power BI FREE users outside PowerBI.com and embed in other SaaS applications (SharePoint, Teams) 3. Share content with Power BI FREE users through PowerBI.com |
| Billing | Hourly | Monthly | Monthly |
| Commitment | No commitment | Monthly/ Yearly | Monthly/ Yearly |
| Differentiation | Full elasticity- can scale up/ down, pause/ resume resources in Azure portal or through API | Can be used to embed content in SharePoint Online and Microsoft Teams | Combine embedding in applications and use the Power BI Service in the same capacity |
Q&A will be embedded separately from dashboards or reports, so it can be added seamlessly into the ISV application and maintain the native look and feel while giving the developer more control on the behavior of Q&A.
As the developer, you can control the level of interaction your end-users may have with Q&A, as well as full visibility to the type of questions your users asks. This way you can learn more about your users and what interests them, adjust the data and visualizations they are consuming and offer them a more personalized and beneficial experience when interacting with your application.
Try it yourself on our Power BI Embedded Live Demo tool.
1. Interactive mode- this mode shows the end-user the question box. With the built in smart question box, an end-user can type questions and receive immediate feedback with a resulting visual. The developer can choose to embed Q&A with a default question, giving the end-user an initial visual to interact with. For example, when a predefined question is “This year’s sales by store type by postal code as map”, the user will see the following embedded Iframe:
The developer can also choose to start with a blank pane, so that the end-user can set up the first question, rather than altering a default one. The user will see the following embedded Iframe:
2. Result-only mode- in this mode only the ISV application can set and change the question, while the end-user can only see the resulted visual, without the ability to edit and interact with the question. This mode opens tons of options for the developer to create on-the-fly visuals tailored to his users. For example, he can save the end-user’s previous questions and automatically show him the generated visual once he enters a certain page, or drill to specific results according to end-user actions in the application. The app can also suggest the end-user to choose from popular queries that were made by users like him.
The user will see the following embedded Iframe:
Here’s a code snippet for JS SDK usage:
// Embed configuration used to describe the what and how to embed.
// This object is used when calling powerbi.embed.
// You can find more information at https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details.
var config= {
type: 'qna',tokenType: models.TokenType.Embed | models.TokenType.Aad,
accessToken: access token value,
embedUrl: https://app.powerbi.com/qnaEmbed (groupId to be appended as query parameter if required),
datasetIds: array of requested data set ids (we support one dataset only at the moment),
viewMode: models.QnaMode.Interactive | models.QnaMode. ResultOnly,
question: optional parameter for Interactive mode and mandatory for Result-only mode
};// Get a reference to the embedded QNA HTML element
var qnaContainer = $('#qnaContainer')[0];
// Embed the QNA and display it within the div container.
var qna = powerbi.embed(qnaContainer, config);
Visual rendered event- Event that notifies the application for any change in the visual, triggered by end-user typing a new question. Listening to this event will give the app info on the data the end-user looks for, and later enhance and target the right data to that end-user.
Learn more on how to embed Q&A into your application.
Relative date filter- Programmatically set relative date filters on any time-based data model. You can apply the filters on a report/page level. Here’s a code snippet for setting a relative date filter:
{
"$schema": "https://powerbi.com/product/schema#relativeDate",
"target": {
"table": "Time",
"column": "Date"
},"filterType": 4, // corresponding enum value is ‘RelativeDate’
"operator": 1, // corresponding enum value is ‘InThis’
"timeUnitsCount": 1,
"timeUnitType": 3, // corresponding enum value is ‘Months’
"includeToday": true
}
‘Include/Exclude’ & ‘Top N’ filter- these filters will now be visible when a ‘dataSelected’ event is invoked, under the ‘filters’ property. Learn more on how to handle events.
· Gradient colors support in the capabilities schema
· ApplyJsonFilter now also supports clearing the filter
· Support for more properties in the window() object
Custom visuals are now listed on AppSource. This will enable us to provide additional modern services to the developers of custom visuals in the future, stay tuned.
Submission of visuals is still done from the Office developer portal.
We were very excited to hear that Narratives for Business Intelligence custom visual won Best Business Value award in the Office store’s App Awards 2017. Read the blog and see the awards here.
That’s all for this post. We hope you found it useful. Please continue sending us your feedback, it’s very important to us. Have an amazing feature in mind? please share it and vote in our Power BI Embedded Ideas forum, or our Custom Visuals Ideas forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.