<?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: Trigger to select values in two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-to-select-values-in-two-fields/m-p/772788#M274161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have multiple triggers on the initial field, so you just need to add the same for the second field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 12:14:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-27T12:14:01Z</dc:date>
    <item>
      <title>Trigger to select values in two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-select-values-in-two-fields/m-p/772787#M274160</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;I have a field that is comprised of two other fields, i.e. Field1/Field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like for when a value in 'Field1/Field2' is selected, the filters for these individual fields, '%Field1' and '%Field2' are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can achieve this for one field, using the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger on [Field1/Field2]&lt;/P&gt;&lt;P&gt;Field = %Field1&lt;/P&gt;&lt;P&gt;Search String = if(count(distinct %Field1) = 1, %Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well. I'd like to expand this to include the same logic to select %Field2 if one value is available. Thoughts on how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-select-values-in-two-fields/m-p/772787#M274160</guid>
      <dc:creator />
      <dc:date>2015-01-27T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger to select values in two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-to-select-values-in-two-fields/m-p/772788#M274161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have multiple triggers on the initial field, so you just need to add the same for the second field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-to-select-values-in-two-fields/m-p/772788#M274161</guid>
      <dc:creator />
      <dc:date>2015-01-27T12:14:01Z</dc:date>
    </item>
  </channel>
</rss>

