<?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: SUMX vs SUMX w/Summarize in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2973709#M99493</link>
    <description>&lt;P&gt;Thanks, I was thinking the same but was just wanting to get confirmation!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 15:27:56 GMT</pubDate>
    <dc:creator>Euro0681</dc:creator>
    <dc:date>2022-12-16T15:27:56Z</dc:date>
    <item>
      <title>SUMX vs SUMX w/Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2965618#M98963</link>
      <description>&lt;P&gt;I have create a measure that sums another measure (reason for this is to correct the totals):&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure 1 = if([Quantity] &amp;lt; 0 || [Price] &amp;lt; 0 || [Difference] = 0, 0, [Quantity] * [Price])&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure 2 = SUMX('Table', [Measure 1])&amp;nbsp; &amp;lt;--- This total is 10,000&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I then re-created the same measure using &lt;STRONG&gt;'SUMMARIZE'&lt;/STRONG&gt; trying to help with performance since &lt;STRONG&gt;'Measure 2'&lt;/STRONG&gt; (breaks the visual when applied with other measures)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Measure 3 = SUMX( SUMMARIZE( 'Table', 'Table'[ProductName] ), [Measure 1] )&amp;nbsp; &amp;lt;--- Total is 9,000&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;But when using this version, the total is 9,000, Why?&amp;nbsp;&lt;BR /&gt;Also I know SUMX is hurting the performance (especially because of the conditional measure) , if anyone has any suggestions helping to optimize it would greatly be appreciated PLEASE and Thank you! (I can only create measure LIVE CONNECTION)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:44:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2965618#M98963</guid>
      <dc:creator>Euro0681</dc:creator>
      <dc:date>2022-12-13T14:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX vs SUMX w/Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2966730#M99039</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="451586" data-lia-user-login="Euro0681" class="lia-mention lia-mention-user"&gt;Euro0681&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Measure 2 scans the whole table, Measure 3 scans the unique list of&amp;nbsp;'Table'[ProductName]. It seems the 'Table'[ProductName] column has blank rows.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 02:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2966730#M99039</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-14T02:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: SUMX vs SUMX w/Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2973709#M99493</link>
      <description>&lt;P&gt;Thanks, I was thinking the same but was just wanting to get confirmation!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMX-vs-SUMX-w-Summarize/m-p/2973709#M99493</guid>
      <dc:creator>Euro0681</dc:creator>
      <dc:date>2022-12-16T15:27:56Z</dc:date>
    </item>
  </channel>
</rss>

