The April 2017 update to Power BI introduced a ground breaking feature: Quick Measures. This article discusses the Quick Measures that deal with time intelligence.
An early Christmas present in my inbox was the announcement that Power BI Embedded Row Level Security was quietly completed in Dec. The documentation also popped up a few days ago. An early criticism of Power BI Embedded was that you couldn’t really use it in customer portals because it was not possible to filter the data shown to the customer. It was an all-or-nothing affair which rendered it unusable in any scenario where you needed to present different subsets of the data depending on who was viewing it.
How to enable Power BI Embedded Row Level Security
Part 1: Roles in the Power BI Model
This works in two parts – first in the Power BI model, the procedure for creating security is the same as for normal Power BI RLS implementation. Firstly create roles to define the groups of people you want to apply filters to. Then for each role create a filter on a target table using the USERNAME() function:
How you manage the application of the security is up to you – either having intermediary tables that indirectly filter data, or simple direct filters on data tables – depends on your actual requirements.
Part 2: Apptoken in the Web App
In an Enterprise scenario, the USERNAME() function equates to a Windows username. This obviously doesn’t apply in the Power BI Embedded world as your report consumer is outside your corporate network.
In this case the USERNAME() can be fed in via the apptoken that allows your web app to communicate with the Power BI service. An example (lifted from the Power BI blog) is below:
By modifying the code of your Web App you can dynamically set the username based on your Web App’s own login system. As long as that translates properly to the filters you want your role to apply in the model then you have now got Power BI Embedded Row Level Security!
For the full documentation see here.
What is the current state of on-premise hosting of Power BI reports?
During the PASS Summit in October Microsoft announced that they would be releasing a technical preview of on-premise hosting of Power BI reports through SSRS. The preview, which can be accessed through the Azure marketplace, allowed anyone to spin up a virtual machine that included an installed and configured version of SSRS with sample data/files so customers could start exploring the solution immediately. It is worth mentioning that the current preview is very raw and rough; for one it can only be accessed through the Azure Marketplace and hence cannot currently be installed on your own environment and second it only supports live connections to Analysis Services cubes.
What’s to come with the next release?
The next technical preview is planned for January 2017 and unlike the current preview, you will be able to download and install it on your own virtual machine or server. Within this release, they plan to add support for mobile consumption, custom visuals and other data sources.
When will there be a production release?
Microsoft announced that it is planning to release the production ready version of SSRS on-premise hosting of Power BI files with the next release of SQL Server, explicitly adding that it will not be added into the SQL Server 2016 product. Interestingly, this implies that we could expect the next version of SQL Server mid-2017.
Sorry, no posts matched your criteria
AgileBI is a leading Data Analytics consulting firm based in Sydney. We are a Gold Microsoft partner with fully-certified experienced people that can implement, tailor, and support Microsoft Business Intelligence products and solutions.
Microsoft Gold Data Analytics Partner
Microsoft Silver Cloud Platform Partner
Get in touch
1300 441 618
(02) 8088 7440
Suite 2, Level 1, 18-20 York Street, Sydney, NSW 2000