<?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: SUMMARIZE and ALLEXCEPT throwing error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1375152#M25076</link>
    <description>&lt;A href="https://dax.guide/allexcept/" target="_blank"&gt;https://dax.guide/allexcept/&lt;/A&gt; - If you read this, you'll know immediately why your code returns the error.</description>
    <pubDate>Wed, 16 Sep 2020 12:50:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-16T12:50:06Z</dc:date>
    <item>
      <title>SUMMARIZE and ALLEXCEPT throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373078#M25042</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building up a rather complex measure but I'm getting a strange error thrown at me. Here's the beginning stage of my measure:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_Measure Draft = maxx(SUMMARIZE(ALLEXCEPT('Table', 'Table'[SERVICE_WEEK]), [SERVICE_WEEK], "Max Date", max('Table'[SERVICE_DATE]), "Count Days", DISTINCTCOUNT('Table'[SERVICE_DATE])), [SERVICE_WEEK])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error I get is "The column 'SERVICE_WEEK' specified in the 'SUMMARIZE' function was not found in the input table." When I replace the ALLEXCEPT with ALL and remove Service Week as the filter exception, the error goes away so I'm guessing the issue has to do with the interaction between the ALLEXCEPT and the SUMMARIZE functions. Does anyone have any ideas of what could be happening?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Sep 2020 19:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373078#M25042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-15T19:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE and ALLEXCEPT throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373450#M25051</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;, the ALLEXCEPT function removes the column SERVICE_WEEK, which makes it unavailable to SUMMARIZE. Try rewriting the SUMMARIZE portion like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ADDCOLUMNS (
   SUMMARIZE ( 'Table', 'Table'[SERVICE_WEEK] ),
   "Max Date", MAX ( 'Table'[SERVICE_DATE] ),
   "Count Days", DISTINCTCOUNT ( 'Table'[SERVICE_DATE] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 00:06:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373450#M25051</guid>
      <dc:creator>DataInsights</dc:creator>
      <dc:date>2020-09-16T00:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE and ALLEXCEPT throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373521#M25053</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , If you need to group data by week level you don't need all except, because summarize id going to group it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure Draft = maxx(SUMMARIZE('Table', 'Table'[SERVICE_WEEK], "Max Date", max('Table'[SERVICE_DATE]), "Count Days", DISTINCTCOUNT('Table'[SERVICE_DATE])), [SERVICE_WEEK])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is the benefit SUMMARIZE of MAX on service week? That is not using any inner measure&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;like, Sum the distinct day by week&lt;/P&gt;
&lt;P&gt;Measure Draft = Sumx(SUMMARIZE('Table', 'Table'[SERVICE_WEEK], "Max Date", max('Table'[SERVICE_DATE]), "Count Days", DISTINCTCOUNT('Table'[SERVICE_DATE])), [Count Days])&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 01:24:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1373521#M25053</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-16T01:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZE and ALLEXCEPT throwing error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1375152#M25076</link>
      <description>&lt;A href="https://dax.guide/allexcept/" target="_blank"&gt;https://dax.guide/allexcept/&lt;/A&gt; - If you read this, you'll know immediately why your code returns the error.</description>
      <pubDate>Wed, 16 Sep 2020 12:50:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZE-and-ALLEXCEPT-throwing-error/m-p/1375152#M25076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-16T12:50:06Z</dc:date>
    </item>
  </channel>
</rss>

