<?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: TOTAL REV SPLY + 90d Calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/925745#M9344</link>
    <description>&lt;P&gt;Update -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a calculated column that would calculate last years date, and another for laster years date + 90.&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;"Updated Date" Will just signify the last day the data was updated. Update should occurr daily.&lt;/P&gt;&lt;P&gt;SPLY = Today's date - 1 Year&lt;/P&gt;&lt;P&gt;SPLY +90 = [SPLY]+90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SPLY + 90 Total Rev = 
CALCULATE( [Total Revenue], 
    DATESBETWEEN( dDateTable[Date], 
        'dInvVALUE (Keep Up-to-Date)'[SPLY], 
        'dInvVALUE (Keep Up-to-Date)'[SPLY + 90] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, still no success. Please let me know if you have any ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 18:50:33 GMT</pubDate>
    <dc:creator>AlexAlberga727</dc:creator>
    <dc:date>2020-02-07T18:50:33Z</dc:date>
    <item>
      <title>TOTAL REV SPLY + 90d Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/925619#M9334</link>
      <description>&lt;P&gt;I'm looking for some assiatnce in the following -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to calculate what my revenue was for [ (Today's Date LY) TO (Todays Date LY + 90d) ].&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Example - If today was the first of the year, 01/01/2020. Then I want to know what my Rev. was for last year Q1 essentially. But&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this needs to be done dynamically for any date.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For today's calculation I would want the return to be total rev between 02/07/2019 - 05/08/2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any thoughts, thanks!&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;I have failed with this below attempt -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;SP&lt;SPAN&gt;LY+90D Rev = CALCULATE( [Total Revenue],&lt;/SPAN&gt;&lt;/EM&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;DATESBETWEEN( dDateTable[Date],&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;DATEADD( dDateTable[Date], -1, YEAR ),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;EM&gt;( DATEADD(dDateTable[Date], -1, YEAR) + 90 ) ))&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Feb 2020 16:50:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/925619#M9334</guid>
      <dc:creator>AlexAlberga727</dc:creator>
      <dc:date>2020-02-07T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL REV SPLY + 90d Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/925745#M9344</link>
      <description>&lt;P&gt;Update -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a calculated column that would calculate last years date, and another for laster years date + 90.&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;"Updated Date" Will just signify the last day the data was updated. Update should occurr daily.&lt;/P&gt;&lt;P&gt;SPLY = Today's date - 1 Year&lt;/P&gt;&lt;P&gt;SPLY +90 = [SPLY]+90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SPLY + 90 Total Rev = 
CALCULATE( [Total Revenue], 
    DATESBETWEEN( dDateTable[Date], 
        'dInvVALUE (Keep Up-to-Date)'[SPLY], 
        'dInvVALUE (Keep Up-to-Date)'[SPLY + 90] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, still no success. Please let me know if you have any ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 18:50:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/925745#M9344</guid>
      <dc:creator>AlexAlberga727</dc:creator>
      <dc:date>2020-02-07T18:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL REV SPLY + 90d Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/926590#M9417</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190980" data-lia-user-login="AlexAlberga727" class="lia-mention lia-mention-user"&gt;AlexAlberga727&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please try the DAX formula to make &lt;STRONG&gt;MEASURE :&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Rev Sply =
VAR Today_LY =
    TODAY () - 365
VAR LY_90 = Today_LY + 90
RETURN
    CALCULATE ( Sum_revenue, DATESBETWEEN ( 'Table'[date], Today_LY, LY_90 ) )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE : make sure to change Date column to date type otherwise you will end up with the same issue you are facing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav Raj Singh&lt;/P&gt;&lt;P&gt;LinkedIN :&amp;nbsp;&lt;A title="" href="https://www.linkedin.com/in/gauravrajsingh/" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://www.linkedin.com/in/gauravrajsingh/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 06:05:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/926590#M9417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-10T06:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: TOTAL REV SPLY + 90d Calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/927102#M9433</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 13:56:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TOTAL-REV-SPLY-90d-Calculation/m-p/927102#M9433</guid>
      <dc:creator>AlexAlberga727</dc:creator>
      <dc:date>2020-02-10T13:56:33Z</dc:date>
    </item>
  </channel>
</rss>

