<?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: Filtered SUM in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtered-SUM/m-p/2504596#M69314</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="379283" data-lia-user-login="hafchez" class="lia-mention lia-mention-user"&gt;hafchez&lt;/a&gt;&amp;nbsp;Try something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table = 
    FILTER(
      'Table',
      [Transaction_Type] = "Buy Physical" &amp;amp;&amp;amp;
      [Transaction_Category] = "Physical Gold" &amp;amp;&amp;amp;
      ( [Transaction_Status] = "Paid" || [Transaction_Status] = "Withdrawn"
    )
RETURN
  SUMX(__Table,[Transaction_Amount])&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 10 May 2022 10:59:41 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2022-05-10T10:59:41Z</dc:date>
    <item>
      <title>Filtered SUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtered-SUM/m-p/2504570#M69310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to power BI. I have a problem which I need to calculate and show the result of the amount from multiple ID with each filtered column. Can anyone assist me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the table. For example, I need to calculate amount only for ID which Transaction_Type is Buy Physical, Transaction_Category is Physical Gold and Transaction_Status are Paid and Withdrawn. Example, UserID is&amp;nbsp;00AB. After filtered the needed data, the amount should be&amp;nbsp;1.3955&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 10:48:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtered-SUM/m-p/2504570#M69310</guid>
      <dc:creator>hafchez</dc:creator>
      <dc:date>2022-05-10T10:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filtered SUM</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtered-SUM/m-p/2504596#M69314</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="379283" data-lia-user-login="hafchez" class="lia-mention lia-mention-user"&gt;hafchez&lt;/a&gt;&amp;nbsp;Try something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table = 
    FILTER(
      'Table',
      [Transaction_Type] = "Buy Physical" &amp;amp;&amp;amp;
      [Transaction_Category] = "Physical Gold" &amp;amp;&amp;amp;
      ( [Transaction_Status] = "Paid" || [Transaction_Status] = "Withdrawn"
    )
RETURN
  SUMX(__Table,[Transaction_Amount])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 May 2022 10:59:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtered-SUM/m-p/2504596#M69314</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-05-10T10:59:41Z</dc:date>
    </item>
  </channel>
</rss>

