<?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 Report subscription email -RLS Azure Analysis Services in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Report-subscription-email-RLS-Azure-Analysis-Services/m-p/545213#M17001</link>
    <description>&lt;P&gt;Hi, We have currently working our web application with power bi embedded and row level security with Azure Analysis Services, that works really good, now we need to use subscriptions so the user (power bi pro users) could receive at least one email per day, but RLS is not working when they go directly to the report in power bi, out of our web site. I tried some approaches, like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Doors[RoleGroup] IN SELECTCOLUMNS(FILTER(Operators_RoleGroup, Operators_RoleGroup[Email] =IF(ISBLANK( CUSTOMDATA()),USERPRINCIPALNAME(),CUSTOMDATA())&amp;nbsp; &amp;amp;&amp;amp; RELATED(DimRoleGroups[RoleGroupID])= [RoleGroup]),"Doors", [RoleGroup])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Validating if customdata() is blank, then use userprincipalname(), or:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UserTypeLogged = SELECTCOLUMNS(FILTER(Operators_RoleGroup, Operators_RoleGroup[Email] =IF(ISBLANK( CUSTOMDATA()),IF(ISBLANK(USERPRINCIPALNAME()),USERNAME(),USERPRINCIPALNAME()),CUSTOMDATA())&amp;nbsp; &amp;amp;&amp;amp; RELATED(DimRoleGroupsGX[RoleGroupID])= [RoleGroup]),"Doors", [RoleGroup]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any efficient way to do this?, kind regards. possible manage subscriptions email/export from power bi rest api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Oct 2018 02:31:38 GMT</pubDate>
    <dc:creator>hmaganal2000</dc:creator>
    <dc:date>2018-10-18T02:31:38Z</dc:date>
    <item>
      <title>Report subscription email -RLS Azure Analysis Services</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-subscription-email-RLS-Azure-Analysis-Services/m-p/545213#M17001</link>
      <description>&lt;P&gt;Hi, We have currently working our web application with power bi embedded and row level security with Azure Analysis Services, that works really good, now we need to use subscriptions so the user (power bi pro users) could receive at least one email per day, but RLS is not working when they go directly to the report in power bi, out of our web site. I tried some approaches, like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Doors[RoleGroup] IN SELECTCOLUMNS(FILTER(Operators_RoleGroup, Operators_RoleGroup[Email] =IF(ISBLANK( CUSTOMDATA()),USERPRINCIPALNAME(),CUSTOMDATA())&amp;nbsp; &amp;amp;&amp;amp; RELATED(DimRoleGroups[RoleGroupID])= [RoleGroup]),"Doors", [RoleGroup])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Validating if customdata() is blank, then use userprincipalname(), or:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UserTypeLogged = SELECTCOLUMNS(FILTER(Operators_RoleGroup, Operators_RoleGroup[Email] =IF(ISBLANK( CUSTOMDATA()),IF(ISBLANK(USERPRINCIPALNAME()),USERNAME(),USERPRINCIPALNAME()),CUSTOMDATA())&amp;nbsp; &amp;amp;&amp;amp; RELATED(DimRoleGroupsGX[RoleGroupID])= [RoleGroup]),"Doors", [RoleGroup]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any efficient way to do this?, kind regards. possible manage subscriptions email/export from power bi rest api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 02:31:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-subscription-email-RLS-Azure-Analysis-Services/m-p/545213#M17001</guid>
      <dc:creator>hmaganal2000</dc:creator>
      <dc:date>2018-10-18T02:31:38Z</dc:date>
    </item>
  </channel>
</rss>

