<?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: Help with DAX Allexcept filtering in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576769#M31487</link>
    <description>&lt;P&gt;Tried that. It didn't work&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2020 22:03:32 GMT</pubDate>
    <dc:creator>nadmem</dc:creator>
    <dc:date>2020-12-31T22:03:32Z</dc:date>
    <item>
      <title>Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576670#M31476</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a Table called Tracking, as shown below:&lt;/P&gt;&lt;P&gt;Category,Item Id,Work Date&lt;BR /&gt;A,1,1/1/2020&lt;BR /&gt;B,1,2/1/2020&lt;BR /&gt;C,1,3/1/2020&lt;BR /&gt;D,1,4/1/2020&lt;BR /&gt;A,2,7/1/2020&lt;BR /&gt;B,2,8/1/2020&lt;BR /&gt;C,2,9/1/2020&lt;BR /&gt;D,2,10/1/2020&lt;/P&gt;&lt;P&gt;Using below measure, I can get Maximum Work Date from above Table.&lt;/P&gt;&lt;P&gt;maxWorkDate =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX('Tracking'[Work Date]),&lt;BR /&gt;ALLEXCEPT('Tracking','Tracking'[Item Id])&lt;BR /&gt;)&lt;BR /&gt;For Item 1, the maximum work date is 4/1/2020 and for Item 2, the maximum work date is 10/1/2020.&lt;/P&gt;&lt;P&gt;I want to get maximum work date by Excluding Category D. So, For Item 1, the maximum work date should be 3/1/2020 and for Item 2, the maximum work date should be 9/1/2020.&lt;/P&gt;&lt;P&gt;I would like to exclude category D within the measure or I can also exclude it in Visual Filters. Please advise. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 17:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576670#M31476</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T17:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576675#M31478</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Change your measure to&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;maxWorkDate = MAXX(Tracking,Tracking[Work Date])&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;and use a visuals filter to exclude D&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Dec 2020 17:29:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576675#M31478</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-12-31T17:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576679#M31479</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="275370" data-lia-user-login="nadmem" class="lia-mention lia-mention-user"&gt;nadmem&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would depend on what is your requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to be able filter on visual category and/or itemid to get the max date?&lt;/P&gt;&lt;P&gt;Adding the visual filter or slicer on canvas will work along with a change in your DAX to&lt;/P&gt;&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;MAX('Tracking'[Work Date])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or if you have additional columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CALCULATE(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MAX('Tracking'[Work Date]),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ALLEXCEPT('Tracking','Tracking'[Item Id],'Tracking'[Category])&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the requirement to always ignore the Category D?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;MAX('Tracking'[Work Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, Tracking[Category] &amp;lt;&amp;gt; "D"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;again you can add in the line "ALLEXCEPT('Tracking','Tracking'[Item Id],'Tracking'[Category])" if you need to ignore filters on other columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 17:44:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576679#M31479</guid>
      <dc:creator>PaulPalma</dc:creator>
      <dc:date>2020-12-31T17:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576681#M31481</link>
      <description>&lt;P&gt;That didn't work. It brought maximum work date from the ENTIRE table i.e. 10/1/2020 whereas&amp;nbsp;after excluding Category D via visual filter, f&lt;SPAN&gt;or Item 1, the maximum work date should be 3/1/2020 and for Item 2, the maximum work date should be 9/1/2020.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 17:49:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576681#M31481</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T17:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576729#M31484</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;Its not working. I had tried adding the category column to ALLEXCEPT before but it changes the behavior completely. Instead of max work date from entire category it just simply repeats the work date. I can send you the file or you can try it yourself. My requirement is to simply unselect category D from visual filter and then have the measure return max date from remainin categories i.e.&amp;nbsp;&lt;SPAN&gt;after excluding Category D via visual filter, f&lt;/SPAN&gt;&lt;SPAN&gt;or Item 1, the maximum work date should be 3/1/2020 and for Item 2, the maximum work date should be 9/1/2020.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 19:32:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576729#M31484</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576738#M31485</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 19:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576738#M31485</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576748#M31486</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Ok, Sounds like you want to ignore all Category filters.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX('Tracking'[Work Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;,ALLEXCEPT('Tracking','Tracking'[Item Id])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;, Tracking[Category] &amp;lt;&amp;gt; "D"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Dec 2020 20:32:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576748#M31486</guid>
      <dc:creator>PaulPalma</dc:creator>
      <dc:date>2020-12-31T20:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576769#M31487</link>
      <description>&lt;P&gt;Tried that. It didn't work&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 22:03:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576769#M31487</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T22:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576771#M31488</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 22:04:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1576771#M31488</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2020-12-31T22:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1577207#M31490</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Max Work Date] =
calculate(
    max( 'tracking'[work date] ),
    distinct ( 'tracking'[item id] ),
    'tracking'[category] &amp;lt;&amp;gt; "D",
    all ( 'tracking' )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 01 Jan 2021 09:07:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1577207#M31490</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-01-01T09:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1577589#M31498</link>
      <description>&lt;P&gt;Your DAX expression was not written properly. ")" is not place right. It should be after the Item ID column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can review&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/calculate/" target="_blank"&gt;CALCULATE - DAX Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/allexcept/" target="_blank"&gt;ALLEXCEPT - DAX Guide&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2021 11:22:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1577589#M31498</guid>
      <dc:creator>PaulPalma</dc:creator>
      <dc:date>2021-01-02T11:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Allexcept filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1584957#M31712</link>
      <description>&lt;P&gt;Yes, you are right. I fixed it and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 17:55:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Allexcept-filtering/m-p/1584957#M31712</guid>
      <dc:creator>nadmem</dc:creator>
      <dc:date>2021-01-06T17:55:20Z</dc:date>
    </item>
  </channel>
</rss>

