<?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 Filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157212#M32779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can do it without using a second table. All you should need is Set Analysis and the Concat function.&lt;/P&gt;&lt;P&gt;Concat should give you the list of possible values, so when you select a Gender, you can get the list of groups that contain one member of that gender using Concat. It can get a little tricky with setting up the quotes correctly, but I was able to get it working using your data.&lt;/P&gt;&lt;P&gt;I set up a chart with Group and Name as the dimensions. Then I used this for the expression:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Only({1&amp;lt;Group = {"$(=Concat(Group, '","'))"}&amp;gt;} Gender)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2009 22:50:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-19T22:50:50Z</dc:date>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157206#M32773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I have an issue creating a filter.&lt;BR /&gt;&lt;BR /&gt;Imagine some groups, composed of persons.&lt;BR /&gt;I have 2 tables, one is for the groups (group name, activity...), the other is for the persons (name, age, gender...).&lt;BR /&gt;&lt;BR /&gt;In a cross table, I have something like this :&lt;BR /&gt;&lt;BR /&gt;Group Name Gender&lt;BR /&gt;----------------------------------&lt;BR /&gt;GroupA John Male&lt;BR /&gt;GroupA Jenny Female&lt;BR /&gt;GroupB Paul Male&lt;BR /&gt;GroupC Karen Female&lt;BR /&gt;&lt;BR /&gt;I have a filter on Gender.&lt;BR /&gt;&lt;BR /&gt;Now I want to see all data for Groups where there is a women.&lt;BR /&gt;&lt;BR /&gt;If I filter on Female, I obtain :&lt;BR /&gt;&lt;BR /&gt;Group Name Gender&lt;BR /&gt;----------------------------------&lt;BR /&gt;GroupA Jenny Female&lt;BR /&gt;GroupC Karen Female&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What I want is this :&lt;BR /&gt;&lt;BR /&gt;Group Name Gender&lt;BR /&gt;----------------------------------&lt;BR /&gt;GroupA John Male&lt;BR /&gt;GroupA Jenny Female&lt;BR /&gt;GroupC Karen Female&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can add an alias table for "Person" in my script, and apply the filter on this second table.&lt;BR /&gt;But this becomes complicated when other tables are linked to these ones, for example Female and Male are in another reference table .&lt;BR /&gt;&lt;BR /&gt;Any better idea?&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 23:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157206#M32773</guid>
      <dc:creator />
      <dc:date>2009-11-18T23:44:09Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157207#M32774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically what you ask for can be done like this:&lt;/P&gt;&lt;P&gt;- Select 'Female'&lt;/P&gt;&lt;P&gt;- Select the resulting groups&lt;/P&gt;&lt;P&gt;- Deselect 'Female'&lt;/P&gt;&lt;P&gt;That will give you the result you want.&lt;/P&gt;&lt;P&gt;But I understand you would rather have this done when selecting 'Female' and not have to do the other selecting and deselection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A possible solution:&lt;/P&gt;&lt;P&gt;Why not use an Action (if on QV9) or a a Macro (if on &amp;lt;=QV8.5) to do what I described as steps? You need to create two buttons; one for female and one for male.&lt;/P&gt;&lt;P&gt;When a gender is selected, the Action should activate the resulting groups and then deselect the gender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 03:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157207#M32774</guid>
      <dc:creator />
      <dc:date>2009-11-19T03:54:06Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157208#M32775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this suggestion Mark.&lt;/P&gt;&lt;P&gt;But my report is for end users, they need to see that the filter is on 'Female', not on groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 16:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157208#M32775</guid>
      <dc:creator />
      <dc:date>2009-11-19T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157209#M32776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a specific table containing a group gender field . which contains all groups containing at least one female gender&lt;/P&gt;&lt;P&gt;LOAD distinct group, 'female' as "group gender" resident table where gender = 'female';&lt;/P&gt;&lt;P&gt;Then filter on this new field group gender...&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 17:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157209#M32776</guid>
      <dc:creator />
      <dc:date>2009-11-19T17:58:57Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157210#M32777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nico,&lt;/P&gt;&lt;P&gt;I've attached an example showing a possible solution, but there is a problem, the user can't filter clicking on the table trough gender field, it must be done trough the FGender field.&lt;/P&gt;&lt;P&gt;I hope this works for you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Ups, I didn't see the spastor reply, it's right what he wrote.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 19:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157210#M32777</guid>
      <dc:creator />
      <dc:date>2009-11-19T19:34:24Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157211#M32778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Thanks everyone for your answers.&lt;/P&gt;&lt;P&gt;I confirm that these solutions can work. This is in some way close to the solution I was proposing, adding an alias table, and apply the filter on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 22:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157211#M32778</guid>
      <dc:creator />
      <dc:date>2009-11-19T22:06:05Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157212#M32779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can do it without using a second table. All you should need is Set Analysis and the Concat function.&lt;/P&gt;&lt;P&gt;Concat should give you the list of possible values, so when you select a Gender, you can get the list of groups that contain one member of that gender using Concat. It can get a little tricky with setting up the quotes correctly, but I was able to get it working using your data.&lt;/P&gt;&lt;P&gt;I set up a chart with Group and Name as the dimensions. Then I used this for the expression:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Only({1&amp;lt;Group = {"$(=Concat(Group, '","'))"}&amp;gt;} Gender)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 22:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157212#M32779</guid>
      <dc:creator />
      <dc:date>2009-11-19T22:50:50Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157213#M32780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! This is what I was looking for.&lt;/P&gt;&lt;P&gt;Question : What is the limit (maximum length) of the string returned by Concat()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 17:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157213#M32780</guid>
      <dc:creator />
      <dc:date>2009-12-03T17:58:00Z</dc:date>
    </item>
    <item>
      <title>Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Filter/m-p/157214#M32781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about a limit. There is nothing in the Reference Manual.&lt;/P&gt;&lt;P&gt;I did a quick test and was able to get over 2,000 characters from the concat. I suppose there could be a limit, but it seems to be high at least.&lt;/P&gt;&lt;P&gt;If you're looking at the max number of values it can pull, I'm not sure on that either. I've never heard anyone complain about running into a limit, so again I would assume if there is one it is large.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 22:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter/m-p/157214#M32781</guid>
      <dc:creator />
      <dc:date>2009-12-03T22:59:35Z</dc:date>
    </item>
  </channel>
</rss>

