<?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: filtering script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923555#M319784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2015 12:26:56 GMT</pubDate>
    <dc:creator>pgalvezt</dc:creator>
    <dc:date>2015-08-03T12:26:56Z</dc:date>
    <item>
      <title>filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923549#M319778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y have a residents tables with differents filters that works fine... but when I try to filter by month and vendor doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to filter one vendor called 'Vendor3' and this vendor doesn´t have to appear in January, February and March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RentaVariable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load *&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ingresos:&lt;/P&gt;&lt;P&gt;Load*&lt;/P&gt;&lt;P&gt;From........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Ingresos) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; mes_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; vendedor_desc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; linea_desc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; tipo_doc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Zona Norte' as Ingresos&lt;/P&gt;&lt;P&gt;RESIDENT RentaVariable&lt;/P&gt;&lt;P&gt;WHERE wildmatch(vendedor_desc_renta,'Jorge Carrizo','Mario Troncoso','Nestor Morales','Paolo Rivera','Bladimir Gonzalez','Roberto Mendez');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Ingresos) LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; mes_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; vendedor_desc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; linea_desc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; tipo_doc_renta,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Gerencia de Ventas - Ingeniería' as Ingresos&lt;/P&gt;&lt;P&gt;RESIDENT RentaVariable&lt;/P&gt;&lt;P&gt;WHERE wildmatch(vendedor_desc_renta,'Vendor1','Vendor2','Vendor3'&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;////( Here is my problem)//////&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;first solution:&lt;/P&gt;&lt;P&gt;And If(mes_renta = 'ene' or mes_renta = 'feb' or mes_renta = 'mar' and vendedor_desc_renta = 'Vendor3',monto_actual_renta=0,monto_actual_renta)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second Solution:&lt;/P&gt;&lt;P&gt;And If(mes_renta = 'ene' and vendedor_desc_renta = '&lt;SPAN style="font-size: 13.3333px;"&gt;Vendor3&lt;/SPAN&gt;', monto_actual_renta = 0, monto_actual_renta)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third Solution:&lt;/P&gt;&lt;P&gt;And If(mes_renta = 'ene' or mes_renta = 'feb' or mes_renta = 'mar', vendedor_desc_renta &amp;lt;&amp;gt; 'Vendor3',vendedor_desc_renta)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing Happens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I filter and try to do disappear that vendor 3 in the ene feb mar period?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 18:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923549#M319778</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2015-07-31T18:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923550#M319779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to exclude Vendor 3 for 3 months&lt;/P&gt;&lt;P&gt;adapt to your months, mine is just a text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;vendedor_desc_renta, mes_renta&lt;/P&gt;&lt;P&gt;Vendor1, gen&lt;/P&gt;&lt;P&gt;Vendor1, feb&lt;/P&gt;&lt;P&gt;Vendor1, mar&lt;/P&gt;&lt;P&gt;Vendor1, apr&lt;/P&gt;&lt;P&gt;Vendor1, mag&lt;/P&gt;&lt;P&gt;Vendor2, gen&lt;/P&gt;&lt;P&gt;Vendor2, feb&lt;/P&gt;&lt;P&gt;Vendor2, mar&lt;/P&gt;&lt;P&gt;Vendor2, apr&lt;/P&gt;&lt;P&gt;Vendor2, mag&lt;/P&gt;&lt;P&gt;Vendor3, gen&lt;/P&gt;&lt;P&gt;Vendor3, feb&lt;/P&gt;&lt;P&gt;Vendor3, mar&lt;/P&gt;&lt;P&gt;Vendor3, apr&lt;/P&gt;&lt;P&gt;Vendor3, mag&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; not (vendedor_desc_renta='Vendor3' and Match(mes_renta, 'gen', 'feb', 'mar'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923550#M319779</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-31T19:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923551#M319780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATENATE (Ingresos) LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; mes_renta,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; vendedor_desc_renta,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; linea_desc_renta,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; tipo_doc_renta,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; 'Gerencia de Ventas - Ingeniería' as Ingresos&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT RentaVariable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE wildmatch(vendedor_desc_renta,'Vendor1','Vendor2','Vendor3'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;not (vendedor_desc_renta='Vendor3' and Match(mes_renta, 'gen', 'feb', 'mar'))&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;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks!!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inline not was needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923551#M319780</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2015-07-31T19:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923552#M319781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;inline was needed in my script to check the answer and give an example as I don't have your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923552#M319781</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-31T19:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923553#M319782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!&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;Massimo one question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want that condition for '2015' period just added and match(año_renta = '2015') is that right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Happen if I want to left that vendor just for (año_renta = '2015' and just 'ene' , 'feb' , 'mar') ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 19:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923553#M319782</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2015-07-31T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923554#M319783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want the vendor3 with anno 2015 and month gen, feb, mar&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;and &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(vendedor_desc_renta='Vendor3' and Match(mes_renta, 'gen', 'feb', 'mar') and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;año_renta = 2015&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't want (exclude the same vendor, anno and months), just add a not&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;and &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;not (vendedor_desc_renta='Vendor3' and Match(mes_renta, 'gen', 'feb', 'mar') and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;año_renta = 2015&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;año_renta = 2015&lt;/P&gt;&lt;P&gt;is the same as &lt;/P&gt;&lt;P&gt;match(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;año_renta &lt;/SPAN&gt;, 2015)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 21:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923554#M319783</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-31T21:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: filtering script</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923555#M319784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 12:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-script/m-p/923555#M319784</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2015-08-03T12:26:56Z</dc:date>
    </item>
  </channel>
</rss>

