<?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 Apply same filter in vbscript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-same-filter-in-vbscript/m-p/336919#M124218</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;in vbscript i'd like to apply the same filter defined one a dimension on an other dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Active selection&lt;/P&gt;&lt;P&gt;DTFAB : &amp;gt;200112&lt;/P&gt;&lt;P&gt; I want to apply exactly the same filter on an other dimension&lt;/P&gt;&lt;P&gt;DTRET : &amp;gt;200112&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because when I do that&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Set x = ActiveDocument.Fields("DTFAB").GetPossibleValues&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activedocument.Fields("DTRET").SelectValues x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It don't apply &amp;gt;200112 but all the values of DTFAB (200201, 200203...) and it's not the same if months are missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 12:58:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-03T12:58:57Z</dc:date>
    <item>
      <title>Apply same filter in vbscript</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-same-filter-in-vbscript/m-p/336919#M124218</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;in vbscript i'd like to apply the same filter defined one a dimension on an other dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Active selection&lt;/P&gt;&lt;P&gt;DTFAB : &amp;gt;200112&lt;/P&gt;&lt;P&gt; I want to apply exactly the same filter on an other dimension&lt;/P&gt;&lt;P&gt;DTRET : &amp;gt;200112&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because when I do that&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Set x = ActiveDocument.Fields("DTFAB").GetPossibleValues&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activedocument.Fields("DTRET").SelectValues x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It don't apply &amp;gt;200112 but all the values of DTFAB (200201, 200203...) and it's not the same if months are missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 12:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-same-filter-in-vbscript/m-p/336919#M124218</guid>
      <dc:creator />
      <dc:date>2012-08-03T12:58:57Z</dc:date>
    </item>
  </channel>
</rss>

