<?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 fields as filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942117#M948331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to conditionally show your expressions and the condition can be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Total') = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 13.3333px;"&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Voluntary') = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Involuntary') = 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where ListBoxField is a field which include three rows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;ListBoxField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Voluntary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Involuntary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you select Total, it would only show the expression 1 and so on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 14:53:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-16T14:53:36Z</dc:date>
    <item>
      <title>Using fields as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942116#M948330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a bar chart which displays the percentage of "Total Turnover", 'Voluntary Turnover" and "Involuntary Turnover" by Areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Areas is the dimension and i added 3 expressions, each one to display data of Total, Voluntary and Involuntary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a filter to show only values from Total or Voluntary or Involuntary, when i dont want to see all 3 expressions of my chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone coulde help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942116#M948330</guid>
      <dc:creator />
      <dc:date>2015-12-16T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942117#M948331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to conditionally show your expressions and the condition can be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Total') = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 13.3333px;"&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Voluntary') = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=SubStringCount(Concat(DISTINCT ListBoxField, '|'), 'Involuntary') = 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where ListBoxField is a field which include three rows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;ListBoxField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Total&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Voluntary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Involuntary&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you select Total, it would only show the expression 1 and so on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942117#M948331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-16T14:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields as filter</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942118#M948333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the conditional show function on expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the script create a listbox island&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Island_Field:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;FieldName&lt;/P&gt;&lt;P&gt;Total&lt;/P&gt;&lt;P&gt;Voluntary&lt;/P&gt;&lt;P&gt;Involuntary&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;In your expressions tick conditional show and add the logic below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109174_Capture.PNG" style="height: 528px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If you want it to show all 3 as default when nothing is selected in FieldName field then change the conditional expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldName = 'Voluntary' or getselectedcount(FieldName) = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 15:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-as-filter/m-p/942118#M948333</guid>
      <dc:creator />
      <dc:date>2015-12-16T15:24:31Z</dc:date>
    </item>
  </channel>
</rss>

