<?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 total within a column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/676917#M401</link>
    <description>&lt;P&gt;Hi Evi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works perfectly, many thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yamin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2019 15:45:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-24T15:45:40Z</dc:date>
    <item>
      <title>Cumulative total within a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/674128#M382</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m trying to get the cumulative total within a column using earlier.&lt;/P&gt;&lt;P&gt;But I want this cumulative total for each year and each company only (e.g. ADAPEI/SUDG) in the same column like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Regards !&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 21:23:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/674128#M382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-19T21:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative total within a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/675927#M393</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do this by using the following function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Cumulative =
VAR p_year = Table1[Year]
VAR p_month = Table1[Month]
VAR p_company = Table1[Company]
RETURN
    SUMX (
        FILTER (
            Table1,
            Table1[Year] = p_year
                &amp;amp;&amp;amp; Table1[Month] &amp;lt;= p_month
                &amp;amp;&amp;amp; Table1[Company] = p_company
        ),
        Table1[Value]
    )&lt;/PRE&gt;&lt;P&gt;It groups first on the company, and will then sum the values with a yearmonth smaller or equal to the one in the current row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Evi&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 17:30:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/675927#M393</guid>
      <dc:creator>verscev</dc:creator>
      <dc:date>2019-04-23T17:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative total within a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/676917#M401</link>
      <description>&lt;P&gt;Hi Evi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works perfectly, many thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yamin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 15:45:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-total-within-a-column/m-p/676917#M401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-24T15:45:40Z</dc:date>
    </item>
  </channel>
</rss>

