<?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: Rolling month in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Rolling-month/m-p/884303#M12560</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="195078" data-lia-user-login="Priya2007" class="lia-mention lia-mention-user"&gt;Priya2007&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assume the&amp;nbsp;[Month_Closed] in the table&amp;nbsp;'Work Delivery', you can create a measure like below:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MeasureTotal=&lt;/P&gt;
&lt;P&gt;VAR __table = SUMMARIZE('Work Delivery',[Month_Closed],"__value",[TTM_sales3])&lt;BR /&gt;RETURN&lt;BR /&gt;IF(HASONEVALUE('Work Delivery'[Month_Closed]),[TTM_sales3],SUMX(__table,[__value]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2019 05:30:50 GMT</pubDate>
    <dc:creator>v-qiuyu-msft</dc:creator>
    <dc:date>2019-12-26T05:30:50Z</dc:date>
    <item>
      <title>Rolling month</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Rolling-month/m-p/880656#M12531</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using below formula to count Calculated_required_dates by 12 month rolling&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TTM_sales3 = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Currentdate = EOMONTH(Max ('Date'[CLOSED_DATE]),0) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var PreviousDate = EDATE ( EOMONTH (Currentdate, -1 ), -12 ) +1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Result = CALCULATE (count('Work Delivery'[Calculated_REQUIRED_DATE]), Filter ('Work Delivery',MAX('Work Delivery'[CLOSED_DATE])&amp;gt;=PREVIOUSDATE &amp;amp;&amp;amp; MAX('Work Delivery'[CLOSED_DATE])&amp;lt;= CURRENTDATE))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN Result&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am getting the exact result but total is missing.&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Dec 2019 21:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Rolling-month/m-p/880656#M12531</guid>
      <dc:creator>Priya2007</dc:creator>
      <dc:date>2019-12-19T21:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling month</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Rolling-month/m-p/884303#M12560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="195078" data-lia-user-login="Priya2007" class="lia-mention lia-mention-user"&gt;Priya2007&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assume the&amp;nbsp;[Month_Closed] in the table&amp;nbsp;'Work Delivery', you can create a measure like below:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MeasureTotal=&lt;/P&gt;
&lt;P&gt;VAR __table = SUMMARIZE('Work Delivery',[Month_Closed],"__value",[TTM_sales3])&lt;BR /&gt;RETURN&lt;BR /&gt;IF(HASONEVALUE('Work Delivery'[Month_Closed]),[TTM_sales3],SUMX(__table,[__value]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 05:30:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Rolling-month/m-p/884303#M12560</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2019-12-26T05:30:50Z</dc:date>
    </item>
  </channel>
</rss>

