<?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: excluding records in the script (help needed urgently) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108571#M366906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sunny for your help as always.&lt;/P&gt;&lt;P&gt;But can we also put this condition on in the expression in the straight table??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 11:29:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-14T11:29:06Z</dc:date>
    <item>
      <title>excluding records in the script</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108564#M366899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a product_id for which want to only include data till 2015,&lt;/P&gt;&lt;P&gt;but for 2016 i dont want to include that in the script.&lt;/P&gt;&lt;P&gt;for example only include data for product_id 126 till 2015 not in 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can i do this in the script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Jaya&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108564#M366899</guid>
      <dc:creator />
      <dc:date>2016-06-14T10:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108565#M366900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where not (Product_id = 126 and Year = 2016);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108565#M366900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108566#M366901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from yourtablename where Year &amp;lt; 2016 &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;product_id&amp;nbsp; = 126&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108566#M366901</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-06-14T10:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108567#M366902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny for the reply.&lt;/P&gt;&lt;P&gt;the year feild is in the calender table which is being loaded late based on a order_date.&lt;/P&gt;&lt;P&gt;in the source table there is the product_id and order_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108567#M366902</guid>
      <dc:creator />
      <dc:date>2016-06-14T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108568#M366903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Load * from yourtablename where &lt;/SPAN&gt;Year(order_date) &amp;lt; 2016 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;and &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;product_id&amp;nbsp; = 126&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108568#M366903</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-06-14T10:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108569#M366904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mayil.&lt;/P&gt;&lt;P&gt;Can i also do it in the straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108569#M366904</guid>
      <dc:creator />
      <dc:date>2016-06-14T11:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108570#M366905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Where not (Product_id = 126 and Year(order_date) = 2016);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108570#M366905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T11:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108571#M366906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sunny for your help as always.&lt;/P&gt;&lt;P&gt;But can we also put this condition on in the expression in the straight table??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108571#M366906</guid>
      <dc:creator />
      <dc:date>2016-06-14T11:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108572#M366907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;Can i use the below expression.?&lt;/P&gt;&lt;P&gt;how do i include Year=2016 in the below expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(if(match(product_id,'126')=0, product_id),product_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108572#M366907</guid>
      <dc:creator />
      <dc:date>2016-06-14T11:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108573#M366908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can. May be like this in your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Sum({&amp;lt;Product_id -= {126}&amp;gt;}Measure), Sum({&amp;lt;Product_id = {126}, Year = {'&amp;lt;2016'}&amp;gt;} Measure))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 15:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108573#M366908</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T15:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108574#M366909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression you gave does not work and i am not able to troubleshoot it.&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;I need to exclude all the records for product_id 126 for the year 2016 from the straight table.&lt;/P&gt;&lt;P&gt;Need help on this urgently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 05:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108574#M366909</guid>
      <dc:creator />
      <dc:date>2016-06-16T05:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108575#M366910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression works&lt;/P&gt;&lt;P&gt;count(distinct(aggr(only({&amp;lt;lproduct_id-={'956'}&amp;gt;}order_id),order_id)))&lt;/P&gt;&lt;P&gt;now i need to add the Year = 2016 field in this expression.&lt;/P&gt;&lt;P&gt;I am not able to figure that out.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Appreciate your help as always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 06:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108575#M366910</guid>
      <dc:creator />
      <dc:date>2016-06-16T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: excluding records in the script (help needed urgently)</title>
      <link>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108576#M366911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&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;STRONG&gt;Count(DISTINCT Aggr(Only({&amp;lt;lproduct_id-={'956'}, Year = {2016}&amp;gt;} order_id), order_id))&lt;/STRONG&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;or&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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year = {2016}&amp;gt;}&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT A&lt;/STRONG&gt;&lt;/SPAN&gt;ggr(Only({&amp;lt;lproduct_id-={'956'}&amp;gt;} order_id), order_id))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 10:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding-records-in-the-script/m-p/1108576#M366911</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T10:00:25Z</dc:date>
    </item>
  </channel>
</rss>

