<?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 Rolling 3 months Sales for each Month Selected foe each ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751335#M719965</link>
    <description>&lt;P&gt;Hi Qlik experts ,&lt;/P&gt;&lt;P&gt;I'm aware this question is most common and there are solutions for it but i'm still struggling as I'm quite new here .&lt;/P&gt;&lt;P&gt;PFA Data source and qvw&lt;/P&gt;&lt;P&gt;I'm trying rolling 3 months for each ID and Month :&lt;/P&gt;&lt;P&gt;I have used "AsofTable"&amp;nbsp; logic in my model ( hope its right , do correct me if&amp;nbsp; I'm wrong )&lt;/P&gt;&lt;P&gt;Requirement : For each ID selected and each Month Selected -&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Pervious 3 month rolling Sales 2) Pervious 2 months + current Month Selected sales ( total 3 rolling months sales ) . PFB sample pic&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample example for output" style="width: 939px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42040iEF78E0F44A3B5DF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image001.png" alt="Sample example for output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Sample example for output&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope i'm clear . Do help me . Any thing is fine doing in script or front end .&lt;/P&gt;&lt;P&gt;Also please note without any selection , for each ID for each month in Table box / Straight Table / Pivot Table -it should show 1) Pervious Rolling 3 month sales 2) including current Month pervious 2 months rolling sales .&lt;/P&gt;&lt;P&gt;Please do the needful in qvw attached so that i can refer please&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Advance Thanks ,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:59:25 GMT</pubDate>
    <dc:creator>Ramsingh</dc:creator>
    <dc:date>2024-11-16T17:59:25Z</dc:date>
    <item>
      <title>Rolling 3 months Sales for each Month Selected foe each ID</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751335#M719965</link>
      <description>&lt;P&gt;Hi Qlik experts ,&lt;/P&gt;&lt;P&gt;I'm aware this question is most common and there are solutions for it but i'm still struggling as I'm quite new here .&lt;/P&gt;&lt;P&gt;PFA Data source and qvw&lt;/P&gt;&lt;P&gt;I'm trying rolling 3 months for each ID and Month :&lt;/P&gt;&lt;P&gt;I have used "AsofTable"&amp;nbsp; logic in my model ( hope its right , do correct me if&amp;nbsp; I'm wrong )&lt;/P&gt;&lt;P&gt;Requirement : For each ID selected and each Month Selected -&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Pervious 3 month rolling Sales 2) Pervious 2 months + current Month Selected sales ( total 3 rolling months sales ) . PFB sample pic&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample example for output" style="width: 939px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42040iEF78E0F44A3B5DF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image001.png" alt="Sample example for output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Sample example for output&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope i'm clear . Do help me . Any thing is fine doing in script or front end .&lt;/P&gt;&lt;P&gt;Also please note without any selection , for each ID for each month in Table box / Straight Table / Pivot Table -it should show 1) Pervious Rolling 3 month sales 2) including current Month pervious 2 months rolling sales .&lt;/P&gt;&lt;P&gt;Please do the needful in qvw attached so that i can refer please&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Advance Thanks ,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751335#M719965</guid>
      <dc:creator>Ramsingh</dc:creator>
      <dc:date>2024-11-16T17:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3 months Sales for each Month Selected foe each ID</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751364#M719966</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/122016"&gt;@Ramsingh&lt;/a&gt;&amp;nbsp; see the attached. AsOfMonth will be your Month for selections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 15:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751364#M719966</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-11T15:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3 months Sales for each Month Selected foe each ID</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751373#M719967</link>
      <description>&lt;P&gt;Hi Kush ,&lt;/P&gt;&lt;P&gt;Thanks it seems working but when i'm checking when i added " As of Month" as Dimension and when i checked for ID1 , it has 7 rows ( including for June and July Month ) for which there is no data for June and July for ID 1 where has it has till May month only ( 5 row count ) . or is it ur using different data source by adding extra months ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image001 (1).png" style="width: 657px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42053i030B6A81FB5887C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="thumbnail_image001 (1).png" alt="thumbnail_image001 (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also wanted to understand in my real data i need rolling 36 months so i can change "&amp;nbsp; while IternNo()&amp;lt;=36 ;&amp;nbsp; " right ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 17:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751373#M719967</guid>
      <dc:creator>Ramsingh</dc:creator>
      <dc:date>2020-10-11T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 3 months Sales for each Month Selected foe each ID</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751383#M719968</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/122016"&gt;@Ramsingh&lt;/a&gt;&amp;nbsp;as it is AsOfMonth, In Jul&amp;nbsp; it is considering , Jul,Jun and May&amp;nbsp; for Rolling 3 and Same for Rolling2. That is why for ID 1 it is having data for Jul &amp;amp; Jun. AsOfTable is not created on ID, it is on Month. If you don't want to show Months for that ID then I would suggest to go with front end solution.&amp;nbsp; Remove the AsOfTable logic. I have kept it to compare front end solution with AsOfTable logic. see the attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 22:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-3-months-Sales-for-each-Month-Selected-foe-each-ID/m-p/1751383#M719968</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-11T22:26:09Z</dc:date>
    </item>
  </channel>
</rss>

