<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PowerBI Embedded - row-level security (RLS) vs customer filters in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-row-level-security-RLS-vs-customer-filters/m-p/214678#M6770</link>
    <description>&lt;P&gt;My scenario is:&lt;/P&gt;&lt;P&gt;Publish charts on web page where each customer can see only own data - there are over 1000 customers.&lt;/P&gt;&lt;P&gt;Use&amp;nbsp;PowerBI Embedded and potentially SSAS cube&lt;/P&gt;&lt;P&gt;The questions are:&lt;/P&gt;&lt;P&gt;1)To filter data for each customer should I use:&lt;/P&gt;&lt;P&gt;a)Row level security - &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;b)Custome filter javascript -&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494" target="_blank"&gt;https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From what I can see in RLS I should create separate rule for each customer and this seems to be not a good option&lt;/P&gt;&lt;P&gt;I'm wonder how things are with custom filter with java script - can I use it insted of&amp;nbsp;&lt;SPAN&gt;RLS and is this secure enough?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)Can I use&amp;nbsp;SSAS cube with&amp;nbsp;PowerBI Embedded?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2017 08:32:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-19T08:32:52Z</dc:date>
    <item>
      <title>PowerBI Embedded - row-level security (RLS) vs customer filters</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-row-level-security-RLS-vs-customer-filters/m-p/214678#M6770</link>
      <description>&lt;P&gt;My scenario is:&lt;/P&gt;&lt;P&gt;Publish charts on web page where each customer can see only own data - there are over 1000 customers.&lt;/P&gt;&lt;P&gt;Use&amp;nbsp;PowerBI Embedded and potentially SSAS cube&lt;/P&gt;&lt;P&gt;The questions are:&lt;/P&gt;&lt;P&gt;1)To filter data for each customer should I use:&lt;/P&gt;&lt;P&gt;a)Row level security - &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;b)Custome filter javascript -&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494" target="_blank"&gt;https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From what I can see in RLS I should create separate rule for each customer and this seems to be not a good option&lt;/P&gt;&lt;P&gt;I'm wonder how things are with custom filter with java script - can I use it insted of&amp;nbsp;&lt;SPAN&gt;RLS and is this secure enough?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)Can I use&amp;nbsp;SSAS cube with&amp;nbsp;PowerBI Embedded?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 08:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-row-level-security-RLS-vs-customer-filters/m-p/214678#M6770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-19T08:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded - row-level security (RLS) vs customer filters</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-row-level-security-RLS-vs-customer-filters/m-p/215588#M6790</link>
      <description>&lt;BLOCKQUOTE&gt;@Anonymous&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;My scenario is:&lt;/P&gt;
&lt;P&gt;Publish charts on web page where each customer can see only own data - there are over 1000 customers.&lt;/P&gt;
&lt;P&gt;Use&amp;nbsp;PowerBI Embedded and potentially SSAS cube&lt;/P&gt;
&lt;P&gt;The questions are:&lt;/P&gt;
&lt;P&gt;1)To filter data for each customer should I use:&lt;/P&gt;
&lt;P&gt;a)Row level security -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;b)Custome filter javascript -&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494" target="_blank"&gt;https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;From what I can see in RLS I should create separate rule for each customer and this seems to be not a good option&lt;/P&gt;
&lt;P&gt;I'm wonder how things are with custom filter with java script - can I use it insted of&amp;nbsp;&lt;SPAN&gt;RLS and is this secure enough?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2)Can I use&amp;nbsp;SSAS cube with&amp;nbsp;PowerBI Embedded?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1)To custom filter with javascript api, you could reference this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-reports-using/td-p/141494" target="_self"&gt;demo&lt;/A&gt;. Filter can't be instead of RLS because it is not secure enough, anyone who knows how to hack the Javascript can bypass the filter. If is is not a good option to create too many separate rules for RLS, you may try to consider using function&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-rls/#using-the-username-or-userprincipalname-dax-function" target="_self"&gt;USERNAME&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)Power BI Embedded only supports directquery to Azure SQL DB/Data warehouse. And AFAIK, for SSAS, only the live connection can connnect to an SSAS cube, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-ssas-multidimensional/#capabilities-and-features-of-ssas-md" target="_self"&gt;here&lt;/A&gt;. so I'm afraid you can't use a SSAS cube in Power BI Embedded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By the way, the being deprecated Power BI Embedded will continue to work for a limited time,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;to avoid any extra migrating and re-developing work in future&lt;/STRONG&gt;&lt;SPAN&gt;, it is recommended to start with the new replacement&amp;nbsp;&lt;/SPAN&gt;&lt;A title="" href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-with-non-power-bi-users" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;Embedding with non-Power BI users&lt;/A&gt;&lt;SPAN&gt;(Power BI Premium license needed).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 09:45:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-row-level-security-RLS-vs-customer-filters/m-p/215588#M6790</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-20T09:45:37Z</dc:date>
    </item>
  </channel>
</rss>

