<?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 Summarize with Filter not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362191#M60402</link>
    <description>&lt;P&gt;Hi, I'm trying to do two conditions with creating a new table.&lt;/P&gt;&lt;P&gt;What I have so far is..&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KeyClients&amp;gt;500 = 
CALCULATETABLE( 
    SUMMARIZE(
        KeyClientData
            ,KeyClientData[Region] 
            ,KeyClientData[Product]
            ,KeyClientData[CompanyCode]
            ,"ACDCalls", SUM(KeyClientData[ACDCalls])
        ),
        FILTER(
            KeyClientData
                ,KeyClientData[LastMonth] = 1 &amp;amp;&amp;amp;
                sum(KeyClientData[ACDCalls])&amp;gt;500)
)&lt;/LI-CODE&gt;&lt;P&gt;The condition of LastMonth = 1 is working however it's bringing back ACDCalls under 500.&lt;/P&gt;&lt;P&gt;Can anyone see a simple fix?&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Feb 2022 05:07:55 GMT</pubDate>
    <dc:creator>bassmaninaus_PB</dc:creator>
    <dc:date>2022-02-26T05:07:55Z</dc:date>
    <item>
      <title>Summarize with Filter not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362191#M60402</link>
      <description>&lt;P&gt;Hi, I'm trying to do two conditions with creating a new table.&lt;/P&gt;&lt;P&gt;What I have so far is..&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KeyClients&amp;gt;500 = 
CALCULATETABLE( 
    SUMMARIZE(
        KeyClientData
            ,KeyClientData[Region] 
            ,KeyClientData[Product]
            ,KeyClientData[CompanyCode]
            ,"ACDCalls", SUM(KeyClientData[ACDCalls])
        ),
        FILTER(
            KeyClientData
                ,KeyClientData[LastMonth] = 1 &amp;amp;&amp;amp;
                sum(KeyClientData[ACDCalls])&amp;gt;500)
)&lt;/LI-CODE&gt;&lt;P&gt;The condition of LastMonth = 1 is working however it's bringing back ACDCalls under 500.&lt;/P&gt;&lt;P&gt;Can anyone see a simple fix?&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 05:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362191#M60402</guid>
      <dc:creator>bassmaninaus_PB</dc:creator>
      <dc:date>2022-02-26T05:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize with Filter not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362228#M60404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315654" data-lia-user-login="bassmaninaus_PB" class="lia-mention lia-mention-user"&gt;bassmaninaus_PB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;KeyClients&amp;gt;500 =
FILTER(
    CALCULATETABLE(
        SUMMARIZE(
            KeyClientData,
            KeyClientData[Region],
            KeyClientData[Product],
            KeyClientData[CompanyCode],
            "ACDCalls Sum", SUM( KeyClientData[ACDCalls] )
        ),
        FILTER( KeyClientData, KeyClientData[LastMonth] = 1 )
    ),
    [ACDCalls Sum] &amp;gt; 500
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank" rel="noopener"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 07:14:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362228#M60404</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2022-02-26T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Summarize with Filter not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362237#M60407</link>
      <description>&lt;P&gt;Magic! Thanks VahidDM!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 08:15:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Summarize-with-Filter-not-working/m-p/2362237#M60407</guid>
      <dc:creator>bassmaninaus_PB</dc:creator>
      <dc:date>2022-02-26T08:15:51Z</dc:date>
    </item>
  </channel>
</rss>

