<?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: Previous Month Value  How to show next three Month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Value-How-to-show-next-three-Month/m-p/2072122#M46889</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try with help from date table &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var _max = MAXX(allselected('Date1'),'Date1' [Month])&lt;BR /&gt;var _this = month(_max) &lt;BR /&gt;var _last = month(eomonth(_max,-1))&lt;BR /&gt;var _MTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;var _LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;var _2LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-2,MONTH)))&lt;BR /&gt;var _3LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-2,MONTH)))&lt;BR /&gt;return &lt;BR /&gt;Switch ( True() ,&lt;BR /&gt;_this =7, _3LMTD *.2 + _2LMTD *.3 + _LMTD *.2 ,&lt;BR /&gt;//Add other logics&lt;BR /&gt;//else if need &lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 07:43:12 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-09-13T07:43:12Z</dc:date>
    <item>
      <title>Previous Month Value  How to show next three Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Value-How-to-show-next-three-Month/m-p/2071893#M46879</link>
      <description>&lt;P&gt;&amp;nbsp;i have table data Month Wise .&amp;nbsp; if user select July(selected Month hidden in Graph) Previous three Month value&amp;nbsp; multile by contant value 0.2,0.3,0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;april 65.01 * 0.2 = 13.02&lt;/P&gt;&lt;P&gt;May 65.03 * 0.3 = 19.59&lt;/P&gt;&lt;P&gt;June 64.02 * 0.2 = 32.01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Toal avg value = 64.71&amp;nbsp; this value i want show after&amp;nbsp; selected Month like August,Sep,oct&amp;nbsp;&lt;BR /&gt;August&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;64.71&lt;/P&gt;&lt;P&gt;Sep&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;64.71&lt;/P&gt;&lt;P&gt;Oct&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;64.71&lt;/P&gt;&lt;P&gt;after that&amp;nbsp; November it will increase by 1 and december it will increase by 2&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;November&amp;nbsp; 64.71+1=65.71&lt;/P&gt;&lt;P&gt;December&amp;nbsp; 64.71+2=66.71&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to work on it dax. i am new to dax functions .any&amp;nbsp; idea ..thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 06:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Value-How-to-show-next-three-Month/m-p/2071893#M46879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-13T06:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month Value  How to show next three Month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Value-How-to-show-next-three-Month/m-p/2072122#M46889</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try with help from date table &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var _max = MAXX(allselected('Date1'),'Date1' [Month])&lt;BR /&gt;var _this = month(_max) &lt;BR /&gt;var _last = month(eomonth(_max,-1))&lt;BR /&gt;var _MTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))&lt;BR /&gt;var _LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))&lt;BR /&gt;var _2LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-2,MONTH)))&lt;BR /&gt;var _3LMTD = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-2,MONTH)))&lt;BR /&gt;return &lt;BR /&gt;Switch ( True() ,&lt;BR /&gt;_this =7, _3LMTD *.2 + _2LMTD *.3 + _LMTD *.2 ,&lt;BR /&gt;//Add other logics&lt;BR /&gt;//else if need &lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 07:43:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Previous-Month-Value-How-to-show-next-three-Month/m-p/2072122#M46889</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-09-13T07:43:12Z</dc:date>
    </item>
  </channel>
</rss>

