<?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 Quarter in a Pivot Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776288#M60180</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;SPAN class=""&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Your proposed solution would be something similar as: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Sum({&amp;lt;&amp;nbsp;Month={"&amp;gt;=$(=Date(AddYears(AddMonths(today(), -2), -1), 'YYYYMM')) &amp;lt;=$(=Date(AddYears(today(), -1), 'YYYYMM'))"}&amp;gt;} &lt;SPAN&gt;&amp;nbsp;PLANT_WIP_QTY&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Which, instead of doing a Rolling Quarter for all the months in the table (it can be up to 36 months), displays only 3 months...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you for the help!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 12:05:37 GMT</pubDate>
    <dc:creator>50ShadesOfSalty</dc:creator>
    <dc:date>2021-01-21T12:05:37Z</dc:date>
    <item>
      <title>Rolling Quarter in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776031#M60157</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to build a measure that considers a rolling quarter per month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imagine:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Nov 20: Should contain values for Sep20, Oct20 and Nov20&lt;/LI&gt;&lt;LI&gt;Dec 20: Should contain values for Oct20, Nov20 and Dec20&lt;/LI&gt;&lt;LI&gt;Jan 21: Should contain values for Nov20, Dec20 and Jan21&lt;/LI&gt;&lt;LI&gt;and so on and before.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main question is: Can we do this type of analysis in a Pivot Table with Months as columns?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find below an illustrative example of the Pivot Table i'm looking for:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="50ShadesOfSalty_1-1611162234804.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47506i1821CFA5196EAFF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="50ShadesOfSalty_1-1611162234804.png" alt="50ShadesOfSalty_1-1611162234804.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776031#M60157</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2024-11-16T17:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Quarter in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776060#M60162</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes its possible,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have took day in my example, you can change instead of month&lt;/P&gt;&lt;P&gt;to get current day value syntax:&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[Date_01] = {"$(=Max([Date_01]))"}&amp;gt;} PLANT_WIP_QTY),&lt;/P&gt;&lt;P&gt;Previous day value Syntax:&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;[Date_01] = {"$(=date((Max([Date_01])-1),'DD/MM/YYYY'))"}&amp;gt;} PLANT_WIP_QTY)&lt;/P&gt;&lt;P&gt;Result will be selected Date value and previous day value&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 17:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776060#M60162</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-20T17:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Quarter in a Pivot Table</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776288#M60180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;SPAN class=""&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Your proposed solution would be something similar as: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Sum({&amp;lt;&amp;nbsp;Month={"&amp;gt;=$(=Date(AddYears(AddMonths(today(), -2), -1), 'YYYYMM')) &amp;lt;=$(=Date(AddYears(today(), -1), 'YYYYMM'))"}&amp;gt;} &lt;SPAN&gt;&amp;nbsp;PLANT_WIP_QTY&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Which, instead of doing a Rolling Quarter for all the months in the table (it can be up to 36 months), displays only 3 months...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you for the help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Quarter-in-a-Pivot-Table/m-p/1776288#M60180</guid>
      <dc:creator>50ShadesOfSalty</dc:creator>
      <dc:date>2021-01-21T12:05:37Z</dc:date>
    </item>
  </channel>
</rss>

