<?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: Simple SumIfs in PBI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2771302#M86299</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;&amp;nbsp;, can you try this (calculated column):&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;LI-CODE lang="markup"&gt;sumif ex = 
CALCULATE(SUM('Table'[Count]),FILTER('Table','Table'[Group] = EARLIER('Table'[Group]) &amp;amp;&amp;amp; 'Table'[Party] = EARLIER('Table'[Party])))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 18:37:55 GMT</pubDate>
    <dc:creator>AnthonyJoseph</dc:creator>
    <dc:date>2022-09-15T18:37:55Z</dc:date>
    <item>
      <title>Simple SumIfs in PBI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2771246#M86292</link>
      <description>&lt;P&gt;HI Team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the help in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to replicate a SUMIFS function in PBI. My sample data is shown below. In the example, my answer would be 6. I would like a new column to list the SUMIFS value for all rows in my real table. How can I achieve this in PBI? I am slightly familiar with the GROUP BY button in Power Query but I want to keep my original table in tact.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, FB&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 18:01:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2771246#M86292</guid>
      <dc:creator>FOXYBARK</dc:creator>
      <dc:date>2022-09-15T18:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Simple SumIfs in PBI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2771302#M86299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;&amp;nbsp;, can you try this (calculated column):&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;LI-CODE lang="markup"&gt;sumif ex = 
CALCULATE(SUM('Table'[Count]),FILTER('Table','Table'[Group] = EARLIER('Table'[Group]) &amp;amp;&amp;amp; 'Table'[Party] = EARLIER('Table'[Party])))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 18:37:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2771302#M86299</guid>
      <dc:creator>AnthonyJoseph</dc:creator>
      <dc:date>2022-09-15T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Simple SumIfs in PBI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2774928#M86583</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Your Column] = // calc column
// Don't use CALCULATE in calculated columns
// as this slows down calculations tremendously
// especially on big tables.
var vCurrentParty = T[Party]
var vCurrentGroup = T[Group]
var Output =
    sumx(
        filter(
            T,
            T[Party] = vCurrentParty
            &amp;amp;&amp;amp;
            T[Group] = vCurrentGroup
        ),
        T[Count]
    )
return
    Output&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 17 Sep 2022 10:04:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2774928#M86583</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-09-17T10:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simple SumIfs in PBI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2777242#M86731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391480" data-lia-user-login="FOXYBARK" class="lia-mention lia-mention-user"&gt;FOXYBARK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I suggest you to create a measure as below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;How many from Group B,Party equal to Homecoming = 
CALCULATE (
    SUM ( 'Table'[Count] ),
    FILTER (
        'Table',
        'Table'[Group] = "B"
            &amp;amp;&amp;amp; 'Table'[Party] = "Homecoming"
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:44:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2777242#M86731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-19T09:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Simple SumIfs in PBI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2778324#M86853</link>
      <description>&lt;P&gt;I need an entire column, not a measure. I hit Solved by mistake.&amp;nbsp;&lt;/P&gt;&lt;P&gt;FB&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 17:03:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-SumIfs-in-PBI/m-p/2778324#M86853</guid>
      <dc:creator>FOXYBARK</dc:creator>
      <dc:date>2022-09-19T17:03:35Z</dc:date>
    </item>
  </channel>
</rss>

