<?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: Get the cumulatieve value before the selected month WIP in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043165#M14019</link>
    <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I mean the input tables, as I assume the one you posted is your expected output, correct?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2020 04:52:15 GMT</pubDate>
    <dc:creator>Stachu</dc:creator>
    <dc:date>2020-04-23T04:52:15Z</dc:date>
    <item>
      <title>Get the cumulatieve value before the selected month WIP</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1004453#M12763</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a Work in Proces overview which shows the total amount to be invoiced. This overview has a from till slicer on month level. The first column always needs to show the cumulative values of all months before the first month selected in the slicer.&lt;/P&gt;&lt;P&gt;See a simpel model for example from month 2 til month 4:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Selected months&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Start Wip&lt;/TD&gt;&lt;TD&gt;Worked hours&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Written off&lt;/TD&gt;&lt;TD&gt;Invoiced&lt;/TD&gt;&lt;TD&gt;End Wip&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Project A&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Project B&lt;/TD&gt;&lt;TD&gt;-50&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Project C&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I would change the Slicer to from month 5 til month x The value of the [Start WIP] would be the [end Wip] in the table above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The end Wip = (begin WIP+worked hours) - (written off + Invoiced)&lt;BR /&gt;I am struggeling to get the formula for the [Start Wip], This is essentially the cumulative [end Wip] of the month before the selected month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I think I am getting into a Loop and I cannot figure out how to het the total from the selected month -1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help me&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:53:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1004453#M12763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-02T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get the cumulatieve value before the selected month WIP</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043165#M14019</link>
      <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I mean the input tables, as I assume the one you posted is your expected output, correct?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 04:52:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043165#M14019</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-04-23T04:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get the cumulatieve value before the selected month WIP</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043310#M14025</link>
      <description>&lt;P&gt;Hi stachu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankx for you reply. It took a while for anybody to respond so i have figured it out myself. I used this formula&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;OHW Begin periode = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var mindate = CALCULATE(FIRSTDATE('Calendar'[Date]);ALL('Calendar'[Date]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE( [OHW eind -1];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(ALL('Calendar');'Calendar'[Date] &amp;lt; mindate))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;this always gets me the cumulative totals of the months before the selected months. Regardles if I select multiple months.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Apr 2020 06:20:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043310#M14025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-23T06:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get the cumulatieve value before the selected month WIP</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043433#M14028</link>
      <description>&lt;P&gt;glad to hear you solved it yourself &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;can you mark your post as solved, so it can help others in the future?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 07:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-cumulatieve-value-before-the-selected-month-WIP/m-p/1043433#M14028</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-04-23T07:15:25Z</dc:date>
    </item>
  </channel>
</rss>

