<?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 Calculate sum based on end of month date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655467#M78448</link>
    <description>&lt;P&gt;Hi.&amp;nbsp; I'm having an anoying error with my current formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to calulate the value of shipped orders upto and including the current month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error reported is "Too few arguments were passed to the EOMONTH function.&amp;nbsp; The minimum argument count for the function is 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ALL OS VALUE PERIOD = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine[OS LCY Value]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine[Shipment_Date]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LastRefreshedDate[DateLastRefreshed]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any thoughts?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Wayne&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 22 Jul 2022 11:11:04 GMT</pubDate>
    <dc:creator>RogueTrooper</dc:creator>
    <dc:date>2022-07-22T11:11:04Z</dc:date>
    <item>
      <title>Calculate sum based on end of month date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655467#M78448</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I'm having an anoying error with my current formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to calulate the value of shipped orders upto and including the current month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error reported is "Too few arguments were passed to the EOMONTH function.&amp;nbsp; The minimum argument count for the function is 2"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ALL OS VALUE PERIOD = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine[OS LCY Value]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;MNSalesOrderLine[Shipment_Date]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LastRefreshedDate[DateLastRefreshed]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any thoughts?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Wayne&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Jul 2022 11:11:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655467#M78448</guid>
      <dc:creator>RogueTrooper</dc:creator>
      <dc:date>2022-07-22T11:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum based on end of month date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655474#M78450</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="366497" data-lia-user-login="RogueTrooper" class="lia-mention lia-mention-user"&gt;RogueTrooper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You forgot to colse MAX before ",0"&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 11:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655474#M78450</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-22T11:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum based on end of month date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655494#M78451</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; Thanks for the quick reponse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure I quite understand.&amp;nbsp; Do you mean is should end:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LastRefreshedDate[DateLastRefreshed]&lt;/SPAN&gt;&lt;SPAN&gt;",0"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;as the system reports an syntax error on ",0"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Jul 2022 11:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655494#M78451</guid>
      <dc:creator>RogueTrooper</dc:creator>
      <dc:date>2022-07-22T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum based on end of month date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655526#M78453</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;EOMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;LastRefreshedDate[DateLastRefreshed])&lt;/SPAN&gt;&lt;SPAN&gt;,0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 11:38:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2655526#M78453</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-07-22T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate sum based on end of month date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2656510#M78551</link>
      <description>&lt;P&gt;Excellent!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to help resolve this.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 20:33:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-sum-based-on-end-of-month-date/m-p/2656510#M78551</guid>
      <dc:creator>RogueTrooper</dc:creator>
      <dc:date>2022-07-22T20:33:40Z</dc:date>
    </item>
  </channel>
</rss>

