<?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: Using Variables with Filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367461#M136635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... Loving this..thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 14:51:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-30T14:51:10Z</dc:date>
    <item>
      <title>Using Variables with Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367457#M136631</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;Hopefully you guys can help... (And it is something super easy that I have missed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. I have set up several Variables within my document which work fine throughout, and the charts pick up fine however..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. I have 'CompanyA' and 'CompanyB' as two variables, both have the same sales people underneath them but also people that are specific to the comapny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CampanyA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompanyB&lt;/P&gt;&lt;P&gt;Smith&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;Jones&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;Bloggs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;Harris&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;Williams&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I set up a filter on 'Sales People' even though my entire document (Charts/Tables etc) could be looking at 'CompanyA' the filter still brings through Harris and has it white and not greyed out as I would expect..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... Can anyone help on this please??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 17:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367457#M136631</guid>
      <dc:creator />
      <dc:date>2012-07-25T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables with Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367458#M136632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you be more specific?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;".. I have 'CompanyA' and 'CompanyB' as two variables, both have the same sales people underneath them but also people that are specific to the comapny."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 09:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367458#M136632</guid>
      <dc:creator />
      <dc:date>2012-07-26T09:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables with Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367459#M136633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. I have a tick box which shows every company that we work with, I can then tick several of these companies and press a button in my dashboards that sets a variable for the company/s that I wish to view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore all the charts etc I have have this is the expression &lt;/P&gt;&lt;P&gt;{$&amp;lt;Group={$(GroupA)}&amp;gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that the charts only show activity/sales etc according to a company/s that I have set into 'GroupA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that if I then set up a 'Multi Box' and bring through Sales Person as a filter it shows every single salesperson within the database, not those specific to the Company/s that i have set into GroupA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make any more sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to not be very good at describing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 12:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367459#M136633</guid>
      <dc:creator />
      <dc:date>2012-07-26T12:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables with Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367460#M136634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you already mentioned, you filtered all the other charts with a so called set expression &lt;/P&gt;&lt;P&gt;&lt;EM&gt;{$&amp;lt;Group={$(GroupA)}&amp;gt;} &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the charts, but not the list boxes / multi boxes. You need to use an expression instead of just the field name to filter also the list boxes / multi boxes, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=aggr(only( {$&amp;lt;Group={$(GroupA)}&amp;gt;} SalesPersonField), SalesPersonField)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your multi box properties, general tab, enter this expression after clicking on the 'Expression&amp;gt;' button in the middle part of the dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace SalesPersonField with your appropriate field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 12:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367460#M136634</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-26T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables with Filters</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367461#M136635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... Loving this..thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Variables-with-Filters/m-p/367461#M136635</guid>
      <dc:creator />
      <dc:date>2012-07-30T14:51:10Z</dc:date>
    </item>
  </channel>
</rss>

