<?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 Running total in Quick Measures Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/218593#M44</link>
    <description>&lt;H4 id="toc-hId--1323657085"&gt;NAME:&lt;/H4&gt;
&lt;P&gt;Running total&amp;nbsp;performance measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId-419153250"&gt;DESCRIPTION:&lt;/H4&gt;
&lt;P&gt;Calculate the running total&amp;nbsp;of some column containing numerical values&amp;nbsp;over any given period of time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId--2133003711"&gt;PARAMETERS:&lt;/H4&gt;
&lt;P&gt;Name: Base value&lt;/P&gt;
&lt;P&gt;Tooltip: The value you want to measure the running total&amp;nbsp;performance on.&lt;/P&gt;
&lt;P&gt;Type: Numerical field / measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name:&amp;nbsp;Dates&lt;/P&gt;
&lt;P&gt;Tooltip:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The dates interval wherein you want to calculate the running total.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Type:&amp;nbsp;Date field&lt;/P&gt;
&lt;H4 id="toc-hId--390193376"&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4 id="toc-hId-1352616959"&gt;DAX:&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Approach if you have a time dimension:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Running total of&amp;nbsp;{Base value} =&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Calculate(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;SUM(&lt;SPAN&gt;{Base value}),&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;FILTER(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; (ALL({Dates}),&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &lt;SPAN&gt;{Dates} &amp;lt;= MAX (&amp;nbsp;{Dates from time dimension} )&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Approach if you don't have a time dimension (this will only work if you have a row for each period of {Dates} in your date column)&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Running total of&amp;nbsp;{Base value} =&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Calculate(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;SUM(&lt;SPAN&gt;{Base value}),&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;FILTER(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; (ALL({Dates}),&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{Dates} &amp;lt;= MAX (&amp;nbsp;{Dates} )&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you take a look at the .pbix, you'll find syntax for creating&amp;nbsp;a time dimension and making the monthname + year column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't hesitate to ask about the measure. I'll gladly elaborate on anything regarding it.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 13:28:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-25T13:28:11Z</dc:date>
    <item>
      <title>Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/218593#M44</link>
      <description>&lt;H4 id="toc-hId--1323657085"&gt;NAME:&lt;/H4&gt;
&lt;P&gt;Running total&amp;nbsp;performance measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId-419153250"&gt;DESCRIPTION:&lt;/H4&gt;
&lt;P&gt;Calculate the running total&amp;nbsp;of some column containing numerical values&amp;nbsp;over any given period of time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="toc-hId--2133003711"&gt;PARAMETERS:&lt;/H4&gt;
&lt;P&gt;Name: Base value&lt;/P&gt;
&lt;P&gt;Tooltip: The value you want to measure the running total&amp;nbsp;performance on.&lt;/P&gt;
&lt;P&gt;Type: Numerical field / measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Name:&amp;nbsp;Dates&lt;/P&gt;
&lt;P&gt;Tooltip:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The dates interval wherein you want to calculate the running total.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Type:&amp;nbsp;Date field&lt;/P&gt;
&lt;H4 id="toc-hId--390193376"&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4 id="toc-hId-1352616959"&gt;DAX:&lt;/H4&gt;
&lt;P&gt;&lt;SPAN&gt;Approach if you have a time dimension:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Running total of&amp;nbsp;{Base value} =&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Calculate(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;SUM(&lt;SPAN&gt;{Base value}),&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;FILTER(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; (ALL({Dates}),&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; &lt;SPAN&gt;{Dates} &amp;lt;= MAX (&amp;nbsp;{Dates from time dimension} )&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Approach if you don't have a time dimension (this will only work if you have a row for each period of {Dates} in your date column)&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Running total of&amp;nbsp;{Base value} =&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Calculate(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;SUM(&lt;SPAN&gt;{Base value}),&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;FILTER(&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp; (ALL({Dates}),&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;{Dates} &amp;lt;= MAX (&amp;nbsp;{Dates} )&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;nbsp;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you take a look at the .pbix, you'll find syntax for creating&amp;nbsp;a time dimension and making the monthname + year column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't hesitate to ask about the measure. I'll gladly elaborate on anything regarding it.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 13:28:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/218593#M44</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/218600#M46</link>
      <description>&lt;P&gt;I've edited a little in the post. There were a&amp;nbsp;typo in the DAX formulas.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 13:28:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/218600#M46</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T13:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/280131#M64</link>
      <description>&lt;P&gt;I'd really like to see this implemented.&amp;nbsp; &amp;nbsp;I'd label this Lifetime To Date&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/280131#M64</guid>
      <dc:creator>wynhopkins</dc:creator>
      <dc:date>2017-10-17T07:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/408124#M146</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Is it possible to calculate running total for a measure instead of a physical column? Please let me know, thanks&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 15:20:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/408124#M146</guid>
      <dc:creator>ArulselvanD07</dc:creator>
      <dc:date>2018-05-01T15:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/428009#M153</link>
      <description>&lt;P&gt;I have DataSet like Three Years(2016,2017,2018) and Want to show in line chart running total with X-axis as Month of every year and Y-axis having Price. When i implemented this dax for 2016,2017,2018 all are overlapping(having same value).&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 05:17:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/428009#M153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T05:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/429873#M155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls share the data, your current result and the expected results. If possible please share the pbix file as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 03:44:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/429873#M155</guid>
      <dc:creator>ArulselvanD07</dc:creator>
      <dc:date>2018-06-01T03:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Running total</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/432096#M156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="60966" data-lia-user-login="ArulselvanD07" class="lia-mention lia-mention-user"&gt;ArulselvanD07&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks I have figured it out where i was wrong. I just updated your DAX as per my requirements. Now its working fine.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 05:24:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Running-total/m-p/432096#M156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T05:24:13Z</dc:date>
    </item>
  </channel>
</rss>

