<?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 Re: Power Bi Embedded with RLS Filter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-with-RLS-Filter/m-p/1226099#M24768</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;I think this link will be useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064" target="_blank"&gt;https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 22:48:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-15T22:48:12Z</dc:date>
    <item>
      <title>Power Bi Embedded with RLS Filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-with-RLS-Filter/m-p/892500#M21932</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I create one Funcion called cod_user to filter the report by cod_user:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 936px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/223144i403A93164916EA8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I get the user logged in my php app:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;$cod_user = Auth::user()-&amp;gt;cod_user;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do i do to filter this RLS in Javascript API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var models = window['powerbi-client'].models;

var permissions = models.Permissions.All;

var config = {
       type: 'report',
       tokenType: tokenTypeReport == '1' ? models.TokenType.Aad : models.TokenType.Embed,
       accessToken: accessToken,
       embedUrl: EmbedUrlReport,
       id: EmbedReportId,
       permissions: permissions,
          settings: {
             filterPaneEnabled: false,
             navContentPaneEnabled: true
           }
};

 var report = powerbi.embed(embedContainer, config); &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 19:47:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-with-RLS-Filter/m-p/892500#M21932</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2020-01-07T19:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi Embedded with RLS Filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-with-RLS-Filter/m-p/1226099#M24768</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/197418"&gt;@marcio_fornari&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;I think this link will be useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064" target="_blank"&gt;https://community.powerbi.com/t5/Developer/PowerBi-Embedded-API-Works-with-RLS/td-p/231064&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 22:48:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-with-RLS-Filter/m-p/1226099#M24768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-15T22:48:12Z</dc:date>
    </item>
  </channel>
</rss>

