<?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 DAX Dynamic RLS in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Dynamic-RLS/m-p/808092#M5071</link>
    <description>&lt;P&gt;I am new to DAX and am trying to implement some dynamic RLS. The current table of users details looks like below:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;User Email&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User Name&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Agent ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Level of Access Required&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Region&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Individual&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;USA&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test456&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;456&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Regional&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;UK&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test789&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;789&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;National&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;AUS&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is give a user access at a level defined in 'Level of Access Required'.&lt;BR /&gt;&lt;BR /&gt;This has 3 options:&lt;/P&gt;&lt;P&gt;1) National which will show all data for the specific company&lt;/P&gt;&lt;P&gt;2) Regional which will show all data for the specific company and the region&lt;/P&gt;&lt;P&gt;3) Individual which will show all data for user with the Agent ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table mentioned above will then be joined on to the other datasets within the report using a many to many join relationship I imagine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if any further information is required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2019 15:07:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-02T15:07:14Z</dc:date>
    <item>
      <title>DAX Dynamic RLS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Dynamic-RLS/m-p/808092#M5071</link>
      <description>&lt;P&gt;I am new to DAX and am trying to implement some dynamic RLS. The current table of users details looks like below:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;User Email&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;User Name&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Agent ID&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Level of Access Required&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Region&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;123&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Individual&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;USA&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test456&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;456&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Regional&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;UK&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;test@xxx.com&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Test789&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;789&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;National&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;AUS&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Company3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is give a user access at a level defined in 'Level of Access Required'.&lt;BR /&gt;&lt;BR /&gt;This has 3 options:&lt;/P&gt;&lt;P&gt;1) National which will show all data for the specific company&lt;/P&gt;&lt;P&gt;2) Regional which will show all data for the specific company and the region&lt;/P&gt;&lt;P&gt;3) Individual which will show all data for user with the Agent ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table mentioned above will then be joined on to the other datasets within the report using a many to many join relationship I imagine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if any further information is required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 15:07:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Dynamic-RLS/m-p/808092#M5071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-02T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Dynamic RLS</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Dynamic-RLS/m-p/811220#M5222</link>
      <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Column1&lt;/TD&gt;&lt;TD&gt;Column2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2.5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;you will have to pass the filters from this table to the other tables in the data model, joins are one option to do that, but you could also use FILTER, etc.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 10:35:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Dynamic-RLS/m-p/811220#M5222</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2019-10-07T10:35:03Z</dc:date>
    </item>
  </channel>
</rss>

