<?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 Sumif based on a value returned by a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223710#M19890</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to build a formula with sumif functionality in excel, so that sum is calculated for $ amounts for all the transactions whose period value is less than or equal to&amp;nbsp;the value returned by the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;sumif(Actuals!A1:T1,"&amp;lt;="&amp;amp;D4,Actuals!A6:T6)&lt;/P&gt;&lt;P&gt;A1:T1 = period value (1-12)&lt;/P&gt;&lt;P&gt;D4 = value return by slicer e.g. 9 - (I have included a measure to get the slicer value&amp;nbsp;using the selected value and bringing it in&amp;nbsp;a card)&amp;nbsp;&lt;/P&gt;&lt;P&gt;A6:T6 = $ value to be summed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will be greatly appreciated if I can have a similar formula in Power BI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saad&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 07:11:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-15T07:11:22Z</dc:date>
    <item>
      <title>Sumif based on a value returned by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223710#M19890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to build a formula with sumif functionality in excel, so that sum is calculated for $ amounts for all the transactions whose period value is less than or equal to&amp;nbsp;the value returned by the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;sumif(Actuals!A1:T1,"&amp;lt;="&amp;amp;D4,Actuals!A6:T6)&lt;/P&gt;&lt;P&gt;A1:T1 = period value (1-12)&lt;/P&gt;&lt;P&gt;D4 = value return by slicer e.g. 9 - (I have included a measure to get the slicer value&amp;nbsp;using the selected value and bringing it in&amp;nbsp;a card)&amp;nbsp;&lt;/P&gt;&lt;P&gt;A6:T6 = $ value to be summed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will be greatly appreciated if I can have a similar formula in Power BI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saad&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 07:11:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223710#M19890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-15T07:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif based on a value returned by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223734#M19891</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , very difficult to guess with formula without data. Have a date table and try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;measure =&lt;BR /&gt;var _min = minx(allselected(Date),Date[Date])&lt;BR /&gt;return calculate(sum(Table[column]), filter(all(Date),Date[Date]&amp;lt;=_min ))&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 07:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223734#M19891</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-15T07:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sumif based on a value returned by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223801#M19892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See if these help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/SUMIF-function/m-p/1131402" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/SUMIF-function/m-p/1131402&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Sumif-based-on-another-table/m-p/520177" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Sumif-based-on-another-table/m-p/520177&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 07:37:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumif-based-on-a-value-returned-by-a-slicer/m-p/1223801#M19892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-15T07:37:17Z</dc:date>
    </item>
  </channel>
</rss>

