<?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 Calculating Sum with a Group by in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Sum-with-a-Group-by/m-p/2922279#M95857</link>
    <description>&lt;P&gt;This may be a simple question but I'm needing to calculate the sum of sales but group by currency as a measure?&amp;nbsp;&lt;BR /&gt;to give an example (in SQL)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT Sum(Sales), Currency&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GROUP BY Currency&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 16:36:34 GMT</pubDate>
    <dc:creator>Euro0681</dc:creator>
    <dc:date>2022-11-22T16:36:34Z</dc:date>
    <item>
      <title>Calculating Sum with a Group by</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Sum-with-a-Group-by/m-p/2922279#M95857</link>
      <description>&lt;P&gt;This may be a simple question but I'm needing to calculate the sum of sales but group by currency as a measure?&amp;nbsp;&lt;BR /&gt;to give an example (in SQL)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT Sum(Sales), Currency&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GROUP BY Currency&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 16:36:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Sum-with-a-Group-by/m-p/2922279#M95857</guid>
      <dc:creator>Euro0681</dc:creator>
      <dc:date>2022-11-22T16:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Sum with a Group by</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Sum-with-a-Group-by/m-p/2922299#M95858</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;please try&lt;/P&gt;
&lt;P&gt;Measur =&lt;BR /&gt;SUMX ( VALUES ( 'Table'[Currency] ), CALCULATE ( SUM ( 'Table'[Sales] ) ) )&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 16:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-Sum-with-a-Group-by/m-p/2922299#M95858</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-22T16:50:35Z</dc:date>
    </item>
  </channel>
</rss>

