<?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: Need Help on Logic Preparation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330301#M411026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached required output with logic i want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2017 14:51:32 GMT</pubDate>
    <dc:creator>agni_gold</dc:creator>
    <dc:date>2017-07-05T14:51:32Z</dc:date>
    <item>
      <title>Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330298#M411023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data for forecasting, in which every month client is doing forecasting for 2 years, and on the same month they are giving a number called PlaningVersion&amp;nbsp; (Example if Planing is done in Feb 2016, then version no will be 602 (Year last digit + 2 digit of current month)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need to calculate Lag3 for my data, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so suppose if I am calculating Lag3 for Dec2017, means its planning version would be 712, so it will sum data for Nov2017+Oct2017+Sep2017 for Planing version 709, means 3 months back (version&amp;nbsp; 709) whatever planning was done for Nov, Oct, Sep will be the Lag3 for Dec2017 (version 712)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have explained correctly, But this thing I need to do at script level, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attaching sample data &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330298#M411023</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330299#M411024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give output data from the sample data which you have given, so that it will help to understand it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330299#M411024</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-07-05T12:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330300#M411025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required output i have attached. please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330300#M411025</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330301#M411026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached required output with logic i want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330301#M411026</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330302#M411027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ can you please help here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330302#M411027</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T15:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330303#M411028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ can you please help here ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 16:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330303#M411028</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330304#M411029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Agnivesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw and let me know if this is what something you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mouna Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330304#M411029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T17:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330305#M411030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks bro , but this is not matching with my desired result as i attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330305#M411030</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T17:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330306#M411031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What i did was i have taken right(YearMonth,3) as version and did group by on version to sum all the forecast values groupby version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this logic correct?&amp;nbsp; you said you want to sum previson three months to get forcast for latest month right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330306#M411031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330307#M411032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum previous three months to get the forecast for the latest month right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Correct logic:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum &lt;/SPAN&gt;previous&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; three months of Version-3 will be my current month forecast.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 17:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330307#M411032</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T17:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330308#M411033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry i am not able to understand. Is doing group by clause on version to get sum of forcast is correct logic, after that we can do sum of previous three months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330308#M411033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T18:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on Logic Preparation</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330309#M411034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am giving one example here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="52" style="width: 604px; height: 54px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="52"&gt;707&lt;/TD&gt;&lt;TD align="right" class="xl63" height="20" width="52"&gt;Jul-17&lt;/TD&gt;&lt;TD align="right" width="84"&gt;241.9525005&lt;/TD&gt;&lt;TD width="378"&gt;(Sum of Jun2017+May2017+Apr2017 of Planning Version 704&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-on-Logic-Preparation/m-p/1330309#M411034</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2017-07-05T18:14:30Z</dc:date>
    </item>
  </channel>
</rss>

