<?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: Sum after a date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819999#M38596</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Thanks a lot for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry If my question was unclear. I indeed have two tables. One with most information as seen in the picture (lets call this table 1). Then I have a spend table with the spend per vendor per month. Now I want to sum the spend on a vendor after the enddate passed. So If spend booked after enddate = yes I want to sum the spend for that vendor. If spend booked after enddate is no, it can stay blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a new column to table 1 and tried your formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get the error: "Too many arguments were passed to the Filter function. The maximum argument count for the function is 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 13:59:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-03T13:59:29Z</dc:date>
    <item>
      <title>Sum after a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819790#M38588</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to make a sum if formula (this is how I would solve it in Excel) or something similair in powerbi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldnt find a formula for or something else for this.&amp;nbsp; See the picture below for more clarity.&lt;/P&gt;&lt;P&gt;I have the spend per vendor per month in a different table.&amp;nbsp; With this data I want to sum the the spend after the enddate per vendor.&amp;nbsp; So something like IF[spend booked after enddate] = 'yes', Sum(spend per vendor month) after enddate.&lt;/P&gt;&lt;P&gt;I can't get this working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 12:11:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819790#M38588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-03T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum after a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819948#M38594</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , based on what I got. You have two tables &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a new column in table 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(Table1[endDate] &amp;lt; maxx(filter(Table2, Table2[vendors] =table1[Vendors]),[spend date]), "Yes", "No")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer 4 ways to copy data from one table to another&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 13:38:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819948#M38594</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-03T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sum after a date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819999#M38596</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Thanks a lot for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry If my question was unclear. I indeed have two tables. One with most information as seen in the picture (lets call this table 1). Then I have a spend table with the spend per vendor per month. Now I want to sum the spend on a vendor after the enddate passed. So If spend booked after enddate = yes I want to sum the spend for that vendor. If spend booked after enddate is no, it can stay blank.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a new column to table 1 and tried your formula.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get the error: "Too many arguments were passed to the Filter function. The maximum argument count for the function is 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 13:59:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-after-a-date/m-p/1819999#M38596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-03T13:59:29Z</dc:date>
    </item>
  </channel>
</rss>

