<?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 Need to Get the Running Total from Current week Onwards in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-Get-the-Running-Total-from-Current-week-Onwards/m-p/3593472#M138804</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a measure which will give me the running total from Current Week till last week(want to capture for entire year).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the catch is that I dont want to include the revenue value from Week 1 to 4(assuming week 5 is my current week).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the right numbers-, this is what I am using right now-&lt;/P&gt;&lt;P&gt;Running Total=&lt;/P&gt;&lt;P&gt;IF(CALCULATE(MAX(' (Fiscal Calendar)'[Quarter Week Aging])&amp;gt;=0),&lt;BR /&gt;CALCULATE(&lt;BR /&gt;'[Revenue ],&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Fiscal Calendar'[Quarter Week Num], 'Fiscal Calendar'[Quarter Month Num]),&lt;BR /&gt;ISONORAFTER('Fiscal Calendar'[Quarter Week Num], MAX('Fiscal Calendar'[Quarter Week Num]), DESC)&lt;BR /&gt;)&lt;BR /&gt;))&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;above is what i am getting right now, however what i need is &lt;STRONG&gt;running total rev&lt;/STRONG&gt; in week 5 should be 44M, in week 6 it should be (44M+66M=110M)..But right now in Week 5 i am getting the commulative revenue from wk 1to 5, which is not what i want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;</description>
    <pubDate>Wed, 20 Dec 2023 10:17:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-20T10:17:18Z</dc:date>
    <item>
      <title>Need to Get the Running Total from Current week Onwards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-Get-the-Running-Total-from-Current-week-Onwards/m-p/3593472#M138804</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a measure which will give me the running total from Current Week till last week(want to capture for entire year).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the catch is that I dont want to include the revenue value from Week 1 to 4(assuming week 5 is my current week).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the right numbers-, this is what I am using right now-&lt;/P&gt;&lt;P&gt;Running Total=&lt;/P&gt;&lt;P&gt;IF(CALCULATE(MAX(' (Fiscal Calendar)'[Quarter Week Aging])&amp;gt;=0),&lt;BR /&gt;CALCULATE(&lt;BR /&gt;'[Revenue ],&lt;BR /&gt;FILTER(&lt;BR /&gt;ALLSELECTED('Fiscal Calendar'[Quarter Week Num], 'Fiscal Calendar'[Quarter Month Num]),&lt;BR /&gt;ISONORAFTER('Fiscal Calendar'[Quarter Week Num], MAX('Fiscal Calendar'[Quarter Week Num]), DESC)&lt;BR /&gt;)&lt;BR /&gt;))&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;above is what i am getting right now, however what i need is &lt;STRONG&gt;running total rev&lt;/STRONG&gt; in week 5 should be 44M, in week 6 it should be (44M+66M=110M)..But right now in Week 5 i am getting the commulative revenue from wk 1to 5, which is not what i want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;AP&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 10:17:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-Get-the-Running-Total-from-Current-week-Onwards/m-p/3593472#M138804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-20T10:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to Get the Running Total from Current week Onwards</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-Get-the-Running-Total-from-Current-week-Onwards/m-p/3593635#M138816</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;try below measure&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;measure =

SUMX(
  FILTER(
     ALL(re),re[week num]&amp;lt;=MAX(re[week num]) &amp;amp;&amp;amp; re[week num]&amp;gt;4),
  re[revenue]
)+0&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Dec 2023 11:10:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-Get-the-Running-Total-from-Current-week-Onwards/m-p/3593635#M138816</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-12-20T11:10:12Z</dc:date>
    </item>
  </channel>
</rss>

