<?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: How to restrict data for different periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453965#M795893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2010)),'DD-MMM-YYYY'), Dual('2010 Dates',1),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2011)),'DD-MMM-YYYY'), Dual('2011 Dates',2),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2012)),'DD-MMM-YYYY'), Dual('2012 Dates',3),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2013)),'DD-MMM-YYYY'), Dual('2013 Dates',4),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2014)),'DD-MMM-YYYY'), Dual('2014 Dates',5),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD-MMM-YYYY'), Dual('2015 Dates',6),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2016)),'DD-MMM-YYYY'), Dual('2016 Dates',7),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(POL_PERIOD_FROM, 'DD-MMM-YY'),'DD-MMM-YYYY')&amp;lt;Date(YearEnd(MakeDate(2017)),'DD-MMM-YYYY'), Dual('2017 Dates',8))))))))) as Flag1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jan 2018 16:34:45 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-01-06T16:34:45Z</dc:date>
    <item>
      <title>How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453943#M795871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First let me wish you all a very happy christmas which is in the offing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Friends, (Dear S Khan, Tastiana&amp;nbsp; &amp;amp; all other dear friends)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to split the said data for following three periods (Premiums &amp;amp; Claims)&lt;/P&gt;&lt;P&gt;2015_Jan-Dec&lt;/P&gt;&lt;P&gt;2016_Jan_Dec&lt;/P&gt;&lt;P&gt;2017_Jan_Dec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st file carries number of fields including insurance policies &amp;amp; the 2nd files carries the claim paid against such policies. Two files to be linked on policy number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When more than one claim is paid against one insurance policy, same premium is repeated against each claim paid. This gives a wrong picture as per the premium. Therefore please also suggest the way&amp;nbsp; as to how such&amp;nbsp; a situation could be avoided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453943#M795871</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453944#M795872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate if somebody help me on this. As suggested, I need to split the data for three periods as well as to avoid repetition of same premium.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453944#M795872</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2017-12-28T17:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453945#M795873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly look in to this. I have some data to be presented in the suggested manner. Hope some one will dearly look in to this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 17:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453945#M795873</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2017-12-29T17:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453946#M795874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your goal? In UI / Script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 02:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453946#M795874</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-30T02:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453947#M795875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have restricted the policy files through where clause there by just by changing the date given I can arrange the data for the respective period but same if applied on claim file, expected out put wont come. Please see how I could do this?. Thank you for responding on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Dec 2017 17:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453947#M795875</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2017-12-31T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453948#M795876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also Anil please see how I could resolve the following issue in addition to the periods where relevant data to be arranged&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"When more than one claim is paid against one insurance policy, same premium is repeated against each claim paid. This gives a wrong picture as per the premium. Therefore please also suggest the way&amp;nbsp; as to how such&amp;nbsp; a situation could be avoided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Dec 2017 17:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453948#M795876</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2017-12-31T17:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453949#M795877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you could suggest the answers both in UI &amp;amp; Script that would be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Dec 2017 18:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453949#M795877</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2017-12-31T18:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453950#M795878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be better approach, If you provide sample output needed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453950#M795878</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-02T12:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453951#M795879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I need two out puts to be achieved!&lt;/P&gt;&lt;P&gt;A) To separate policy &amp;amp; claims data for respective three periods. In this process&amp;nbsp; I may be able to changed the given end date such as 2015,12,31, 2016,12,31,2017,12,31 to view data for separate three periods. But the issue is the same where clause if applied on claim data, the figures produced are not correct. Please see the reason for that. But it works well on policy data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B) When more claims are paid on one policy, the respective premium is repeated against&amp;nbsp; each claim . Please see the P/T below where on RA0009TC002069 has 10 claims &amp;amp; the single premium of Rs 456305/= is repeated 10times. How this could be restricted to just a one time presentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the issue A- I have annexed the script with where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188590_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 17:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453951#M795879</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-02T17:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453952#M795880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;A) For policy, You can make like below&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE&amp;nbsp; Date(Date#( POL_PERIOD_FROM, 'DD-MMM-YY'),'DD/MM/YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD/MM/YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;B) It is because CLAIM_NO also existing in Dimension. To get rid you can use &lt;STRONG&gt;Aggr(SUM(GROSS), POLICY_NO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 02:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453952#M795880</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-03T02:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453953#M795881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil, Sorry for delay in responding due to having out of couple of days. Your answer for B of course worked well. For A, where clause applied in Policy file worked fine. But if the same where clause applied on Claim data it seems an error occurs.It is the paid date in claim data that the restriction to be made. Though the pol_period from was replaced with paid date still it does not work. Will you show me the script where it should be made. Script written too presented below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POLICIES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CLA_DESCRIPTION, PRD_DESCRIPTION, TYPE, SHORT_NAME, POL_PERIOD_FROM ,&amp;nbsp; POL_PERIOD_TO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; POL_TRN_DATE, POL_POLICY_NO AS POLICY_NO, POL_REF_NO, NAME, POL_SUM_INSURED, CP, RS, TC, GROSS, CESS, LIFE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAT, NET, NO, T_CP, T_RS, T_TC, T_GROSS, T_CESS, T_LIFE, T_C, T_VAT, T_NET, T_SI, P_CP, P_RS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P_TC, P_GROSS, P_CESS, P_VAT, P_C, P_LIFE, P_NET, P_SI, C_CP, C_RS, C_TC, C_GROSS, C_CESS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C_VAT, C_LIFE, C_NET, C_C, C_SI, G_CP, G_RS, G_TC, G_GROSS, G_VAT, G_CESS, G_LIFE, G_NET, C, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G_SI&lt;/P&gt;&lt;P&gt;FROM &lt;D&gt; (ooxml, embedded labels, table is Sheet1) WHERE&amp;nbsp; Date(Date#( POL_PERIOD_FROM, 'DD-MMM-YY'),'DD/MM/YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD/MM/YYYY')&amp;nbsp; ;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIMS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RNUM, BRANCH, REPORTED_DATE, LOSS_DATE, CLASS_CODE, PRD_CODE, POLICY_NO&amp;nbsp; , NAME_OF_THE_INSURED, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLAIM_NO, RISK, BALANCE_BF, MONTHS_PROVISION, PAID_AMOUNT, UNDER_OVER_PROVISION, BALANCE_CF, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PAID_DATE, CLOSED_DATE, CLOSED_STAUS, ADVANCED_PAYMENT, REMARKS, NO_OF_FINAL_PAYMENTS_IN, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO_OF_ADVANCED_PAYMENTS, PREV_MON_INT_PROV, REASON_OUTSTANDING, ME_CODE, CONV_CODE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUSE_OF_LOSS&lt;/P&gt;&lt;P&gt;FROM &lt;D&gt; (ooxml, embedded labels, table is Sheet1) WHERE&amp;nbsp; Date(Date#( PAID_DATE, 'DD-MMM-YY'),'DD/MM/YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD/MM/YYYY')&amp;nbsp; ;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188955_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 17:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453953#M795881</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-04T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453954#M795882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you look in to this if you are free?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 16:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453954#M795882</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-05T16:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453955#M795883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POLICIES:&lt;/P&gt;&lt;P&gt;LOAD CLA_DESCRIPTION, PRD_DESCRIPTION, TYPE, SHORT_NAME, POL_PERIOD_FROM, POL_PERIOD_TO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; POL_TRN_DATE, POL_POLICY_NO AS&amp;nbsp; POLICY_NO, POL_REF_NO, NAME, POL_SUM_INSURED, CP, RS, TC, GROSS, CESS, LIFE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAT, NET, NO, T_CP, T_RS, T_TC, T_GROSS, T_CESS, T_LIFE, T_C, T_VAT, T_NET, T_SI, P_CP, P_RS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P_TC, P_GROSS, P_CESS, P_VAT, P_C, P_LIFE, P_NET, P_SI, C_CP, C_RS, C_TC, C_GROSS, C_CESS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C_VAT, C_LIFE, C_NET, C_C, C_SI, G_CP, G_RS, G_TC, G_GROSS, G_VAT, G_CESS, G_LIFE, G_NET, C, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G_SI&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[CUST_POLICY(2015_2017_DEC).xlsx] (ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE&amp;nbsp; Date(Date#( POL_PERIOD_FROM, 'DD-MMM-YY'),'DD/MM/YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD/MM/YYYY');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLAIMS:&lt;/P&gt;&lt;P&gt;LOAD RNUM, BRANCH, REPORTED_DATE, LOSS_DATE, CLASS_CODE, PRD_CODE, POLICY_NO, NAME_OF_THE_INSURED, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLAIM_NO, RISK, BALANCE_BF, MONTHS_PROVISION, PAID_AMOUNT, UNDER_OVER_PROVISION, BALANCE_CF, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PAID_DATE, CLOSED_DATE, CLOSED_STAUS, ADVANCED_PAYMENT, REMARKS, NO_OF_FINAL_PAYMENTS_IN, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NO_OF_ADVANCED_PAYMENTS, PREV_MON_INT_PROV, REASON_OUTSTANDING, ME_CODE, CONV_CODE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUSE_OF_LOSS&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[[CLAIMS(2015_2017_DEC).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date(Date#(If(Len(PAID_DATE)&amp;gt;0, Date(PAID_DATE)), 'MM/DD/YYYY'),'DD/MM/YYYY')&amp;lt;Date(YearEnd(MakeDate(2015)),'DD/MM/YYYY');&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 17:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453955#M795883</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-05T17:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453956#M795884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil for your response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I make 2015 in the script, as below, data both policies &amp;amp; claims looks like ok. But when mark 2016 as per 2nd table , not only 2016 data but even 2015 data comes like wise when mark 2017, all three years figures appearing. Since I need the data for that specific years such as ( 01.01.2015 to 31.12.2015), (01.01.2016 to 31.12.2016), (01.01.2017-31.12.2017), how I could achieve this. With out using a where clause if any easy solution can be suggested such as using a if statement in the script where a list box can be created so that on a click th required period can be chosen, that would be fine. Sorry for troubling, if possible please look in to this. Because in my office I am required to match premium against the claims for different period to find the profit/loss of the customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189096_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/189097_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/189104_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453956#M795884</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-05T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453957#M795885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 01:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453957#M795885</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-06T01:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453958#M795886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does PFA Stand for? No idea Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 15:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453958#M795886</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-06T15:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453959#M795887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First download the application and check whether requirement reached or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA - Please Find Attachment &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 15:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453959#M795887</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-06T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453960#M795888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a personel edition which makes me no access to your attachment. Could you kindly send me the script in a note pad if you don't mind?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 15:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453960#M795888</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-06T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453961#M795889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to reply over conversation it self rather yours to repeat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 15:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453961#M795889</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-06T15:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict data for different periods</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453962#M795890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for keep helping!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you informed, now claims data can be separated over three Years. Similarly I need to do the same thing for the policies as well. Because if I am to find profit of 2015, I need to compare 2015 policies with 2015 claims &amp;amp; if I am to compare profits for 2016, policies &amp;amp; claims to be matched in that Year etc. Now I think almost reached the target please help me to do this for both policies &amp;amp; claims&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 15:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-restrict-data-for-different-periods/m-p/1453962#M795890</guid>
      <dc:creator>nevilledhamsiri</dc:creator>
      <dc:date>2018-01-06T15:54:28Z</dc:date>
    </item>
  </channel>
</rss>

