<?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 How to show a total regardless the user that is connected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373730#M173653</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you're doing right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show the total of student even though i use RLS to filter data based on the user that is connected using USERPRINCIPALNAME DAX command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total student = CALCULATE(
DISTINCTCOUNT ( Student[ID] ),
ALL(Student),
Student[Level]=6)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The director of X school is able to see the total of these students but i want him to see as well the total of all student of all schools.&lt;/P&gt;&lt;P&gt;Is there away to do so ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 13:37:22 GMT</pubDate>
    <dc:creator>charrynsasi</dc:creator>
    <dc:date>2025-01-21T13:37:22Z</dc:date>
    <item>
      <title>How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373730#M173653</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you're doing right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show the total of student even though i use RLS to filter data based on the user that is connected using USERPRINCIPALNAME DAX command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total student = CALCULATE(
DISTINCTCOUNT ( Student[ID] ),
ALL(Student),
Student[Level]=6)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The director of X school is able to see the total of these students but i want him to see as well the total of all student of all schools.&lt;/P&gt;&lt;P&gt;Is there away to do so ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 13:37:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373730#M173653</guid>
      <dc:creator>charrynsasi</dc:creator>
      <dc:date>2025-01-21T13:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373765#M173657</link>
      <description>&lt;P&gt;Have a look at&amp;nbsp;&lt;A href="https://www.sqlbi.com/articles/computing-accurate-percentages-with-row-level-security-in-power-bi/" target="_self"&gt;https://www.sqlbi.com/articles/computing-accurate-percentages-with-row-level-security-in-power-bi/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 13:52:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373765#M173657</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-21T13:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373769#M173658</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="911978" data-lia-user-login="charrynsasi" class="lia-mention lia-mention-user"&gt;charrynsasi&lt;/a&gt;&amp;nbsp;To show the total number of students regardless of the user that is connected, you can modify your DAX formula to ignore the row-level security (RLS) filters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total student = CALCULATE(&lt;BR /&gt;DISTINCTCOUNT(Student[ID]),&lt;BR /&gt;ALL(Student)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 13:54:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373769#M173658</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-01-21T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373793#M173661</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;this is incorrect. You cannot use DAX to bypass RLS. ALL will remove filters, but it will not remove the restrictions placed by RLS. Any rows removed by RLS filters will not be visible at all, no matter what you do to the filter context.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:13:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373793#M173661</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-01-21T14:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373823#M173662</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;, Right it will show total only when RLS is not placed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:23:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373823#M173662</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-01-21T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a total regardless the user that is connected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373832#M173663</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:27:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-show-a-total-regardless-the-user-that-is-connected/m-p/4373832#M173663</guid>
      <dc:creator>charrynsasi</dc:creator>
      <dc:date>2025-01-21T14:27:39Z</dc:date>
    </item>
  </channel>
</rss>

