<?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 SUM by Month by contrat in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769235#M3603</link>
    <description>&lt;P&gt;Hi, thanks&lt;/P&gt;&lt;P&gt;but i have another dufficult, i have try your solution but when i have more amount in the same month with négative value, it's no good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For exemple, with this table :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I must have for N°Contrat C002 a cumulative value of 130.&lt;/P&gt;&lt;P&gt;But with your formule, i have 260 :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 14:18:44 GMT</pubDate>
    <dc:creator>Lefuneste57</dc:creator>
    <dc:date>2019-08-18T14:18:44Z</dc:date>
    <item>
      <title>Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769213#M3595</link>
      <description>&lt;P&gt;Hi, sorry for my english, i'm french.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table like this and i would calculate the column "Montant cumulé". So, for each Month, the cumulative amount per Month and per N°Contrat.. Can you help me to found the DAX formule for the yellow Column plesae ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:23:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769213#M3595</guid>
      <dc:creator>Lefuneste57</dc:creator>
      <dc:date>2019-08-18T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769214#M3596</link>
      <description>&lt;PRE&gt;[Montant cumule] =
var __noContrat = T[N°Contrat]
var __currentDate = T[Date]
var __cumule =
	SUMX(
		FILTER(
			T,
			T[N°Contrat] = __noContrat
			&amp;amp;&amp;amp;
			T[Date] &amp;lt;= __currentDate
		),
		T[Montant]
	)
return
	__cumule&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:38:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769214#M3596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-18T12:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769235#M3603</link>
      <description>&lt;P&gt;Hi, thanks&lt;/P&gt;&lt;P&gt;but i have another dufficult, i have try your solution but when i have more amount in the same month with négative value, it's no good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For exemple, with this table :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I must have for N°Contrat C002 a cumulative value of 130.&lt;/P&gt;&lt;P&gt;But with your formule, i have 260 :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 14:18:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769235#M3603</guid>
      <dc:creator>Lefuneste57</dc:creator>
      <dc:date>2019-08-18T14:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769237#M3604</link>
      <description>What I've given you is a CALCULATED COLUMN, not a measure. You did not say a single word about a measure.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Darek</description>
      <pubDate>Sun, 18 Aug 2019 14:38:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769237#M3604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-18T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769238#M3605</link>
      <description>&lt;P&gt;I'm sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 14:42:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769238#M3605</guid>
      <dc:creator>Lefuneste57</dc:creator>
      <dc:date>2019-08-18T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769239#M3606</link>
      <description>&lt;PRE&gt;[Montant cumule] =
var __noContrat = selectedvalue ( T[N°Contrat] )
var __currentDate = max ( T[Date] )
var __cumule =
	SUMX(
		FILTER(
			ALL ( T ),
			T[N°Contrat] = __noContrat
			&amp;amp;&amp;amp;
			T[Date] &amp;lt;= __currentDate
		),
		T[Montant]
	)
return
	__cumule&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 14:44:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769239#M3606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-18T14:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative SUM by Month by contrat</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769253#M3611</link>
      <description>&lt;P&gt;It's ok !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help !&amp;nbsp; :smileyvery-happy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 16:03:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cumulative-SUM-by-Month-by-contrat/m-p/769253#M3611</guid>
      <dc:creator>Lefuneste57</dc:creator>
      <dc:date>2019-08-18T16:03:41Z</dc:date>
    </item>
  </channel>
</rss>

