<?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: Filter while using ALLEXCEPT in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2799087#M88023</link>
    <description>&lt;P&gt;HI Ailsa,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, it didn't do the trick sadly.&lt;BR /&gt;Measure is now filtering through slicer but gives same result as Number of Vuln.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 08:29:04 GMT</pubDate>
    <dc:creator>Daniel_Derbin</dc:creator>
    <dc:date>2022-09-27T08:29:04Z</dc:date>
    <item>
      <title>Filter while using ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2795806#M87849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue with creating one DAX measure, hope some of you could help here.&lt;/P&gt;&lt;P&gt;The task is to show % spread of vulnerabilities but with aggregation of 100% per type of Severity.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used measure:&lt;/P&gt;&lt;P&gt;% of vuln wo Sev =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DIVIDE([Number of Vulnerabilities],[Sum of vulnerabilities wo sev],0) = BLANK(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DIVIDE([Number of Vulnerabilities],[Sum of vulnerabilities wo sev],0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And underlying measures are:&lt;BR /&gt;Number of Vulnerabilities = count('TSCDB_Prod LIVE'[ID])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum of vulnerabilities wo sev =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [Number of Vulnerabilities],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ALLEXCEPT('TSCDB_Prod LIVE','TSCDB_Prod LIVE'[Severity]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'TSCDB_Prod LIVE'[Closed status] = "Open"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you see this measure works as intended but issue appears when I try to add organization dimension as a filter:&lt;BR /&gt;&lt;BR /&gt;Without ORG filter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With applied filter Number of Vulnerabilities changes but Sum of Vuln wo SEV remains the same and that affects % of Vuln wo Sev as it should still calculate 100% based on selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to get around issue to have Sum of vuln wo Sev be able to react to filtering?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:58:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2795806#M87849</guid>
      <dc:creator>Daniel_Derbin</dc:creator>
      <dc:date>2022-09-26T08:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter while using ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2798542#M87999</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="390682" data-lia-user-login="Daniel_Derbin" class="lia-mention lia-mention-user"&gt;Daniel_Derbin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum of vulnerabilities wo sev =
 CALCULATE(
        [Number of Vulnerabilities],  
        FILTER('TSCDB_Prod LIVE',[Severity]=MAX('TSCDB_Prod LIVE'[Severity]) &amp;amp;&amp;amp;
         'TSCDB_Prod LIVE'[Closed status] = "Open"
    ))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Because you are using allexcept here , the filter in slicer does not work for the return value of this measure .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/allexcept-function-dax" target="_blank"&gt;ALLEXCEPT function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 05:28:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2798542#M87999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-27T05:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter while using ALLEXCEPT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2799087#M88023</link>
      <description>&lt;P&gt;HI Ailsa,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your feedback, it didn't do the trick sadly.&lt;BR /&gt;Measure is now filtering through slicer but gives same result as Number of Vuln.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 08:29:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-while-using-ALLEXCEPT/m-p/2799087#M88023</guid>
      <dc:creator>Daniel_Derbin</dc:creator>
      <dc:date>2022-09-27T08:29:04Z</dc:date>
    </item>
  </channel>
</rss>

