<?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: Cumulative values in % in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1590468#M31941</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , the expected output is not clear. But cumulative is like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE(_JoinersFemale,Filter(all(Date), Date[Date] &amp;lt;= MAX(Date[Date])))&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 01:32:39 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-01-12T01:32:39Z</dc:date>
    <item>
      <title>Cumulative values in %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1590227#M31932</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;i wrote some dax query but i'm not getting the right result, can someone help me to take a look at my query please?&lt;BR /&gt;here is my query&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;cumul_test = var _Female = F_Rtr[%Female]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _JoinersFemale = F_Joiners[% Female Hired]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _mnt = SELECTEDVALUE(D_Calendar[Month])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var _cal =&amp;nbsp; _Female +_JoinersFemale&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;var _cumul_1 =CALCULATE(_JoinersFemale,DATEADD(D_Calendar[Month],+1,MONTH))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;var _test_test = _cumul_1 +_cal&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;_test_test&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;can someone help me to write the correct syntax please. what i'm expected to have as result is for exemple&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;for sept 2020&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%Female&lt;/SPAN&gt; = 20&lt;BR /&gt;&lt;SPAN&gt;_JoinersFemale&lt;/SPAN&gt; = 5&lt;BR /&gt;&lt;BR /&gt;_cumul = 25&lt;BR /&gt;&lt;BR /&gt;for Oct 2020&lt;BR /&gt;&lt;BR /&gt;_Cumul + octobre values of &lt;SPAN&gt;_JoinersFemale&lt;/SPAN&gt; for exemple 10&lt;BR /&gt;&lt;BR /&gt;so _cumul for Octobre should be 25 + 10 = 35% &lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Jan 2021 19:47:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1590227#M31932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-11T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative values in %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1590468#M31941</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , the expected output is not clear. But cumulative is like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE(_JoinersFemale,Filter(all(Date), Date[Date] &amp;lt;= MAX(Date[Date])))&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 01:32:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1590468#M31941</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-12T01:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative values in %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1591312#M31961</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;i made this table &lt;img /&gt;&lt;/P&gt;&lt;P&gt;using the precedent formula i'm not getting the right result here is how is calculated for exemple the first ligne&lt;BR /&gt;sept the cumul is 29,12%&lt;/P&gt;&lt;P&gt;in oct we should have 29,12 - 2,26%(F leavers) +2,8(F hired)&lt;BR /&gt;here is the formula&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;cumul = var _RosterFemale = F_r[%Female_1]&lt;/DIV&gt;&lt;DIV&gt;var _FJoinersFemale = F_Joiners[% Female Hired]&lt;/DIV&gt;&lt;DIV&gt;var _FLeavers = F_Leavers[%Female_Levers]&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;var _cumulF = _RosterFemale + _FJoinersFemale - _FLeavers&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;var _cumul = CALCULATE(_RosterFemale + _FJoinersFemale - _FLeavers,FILTER(ALL(D_Calendar[Month]),&lt;/DIV&gt;&lt;DIV&gt;D_Calendar[Month] &amp;lt;= MAX(D_Calendar[Month])))&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;Return&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;_cumul&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&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;,&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Jan 2021 11:26:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1591312#M31961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-12T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative values in %</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1595682#M31986</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , This should be a date, not a month. other options use allselected in place of all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var _cumul = CALCULATE(_RosterFemale + _FJoinersFemale - _FLeavers,FILTER(allselected (D_Calendar[Month]),&lt;BR /&gt;D_Calendar[Date] &amp;lt;= MAX(D_Calendar[Date])))&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 02:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-values-in/m-p/1595682#M31986</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-01-13T02:52:05Z</dc:date>
    </item>
  </channel>
</rss>

