<?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 Synchronizing 2 field filters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317608#M28342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In simple terms, on my 'home' tab,&amp;nbsp; I want users to select from one of two list boxes : &lt;/P&gt;&lt;UL&gt;&lt;LI&gt; [Data Number] or&lt;/LI&gt;&lt;LI&gt;[Date Value]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For subsequent sheets, I am utilizing function : GetFieldSelections(&amp;lt;field&amp;gt;)&lt;/P&gt;&lt;P&gt;As I am offering the user 2 fields to select from, I am having to constantly reference both fields, which leads to lots of if/and/or/but scenarios - complicating set analysis much more than it needs to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I am looking for a way to consolidate the users selections back into 1 field.&lt;/P&gt;&lt;P&gt;Example (using table below) : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; If a user selects [Date number] 2, then both [Date Value] '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;02/01/2017'&amp;nbsp; AND '&lt;SPAN style="font-size: 13.3333px;"&gt;13/02/2017'&amp;nbsp; need to become 'Selected'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that this can be done via triggers, but not quite worked out the method as of yet !&lt;/P&gt;&lt;P&gt;Any tips welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 273px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl75" height="21" width="64"&gt;Category&lt;/TD&gt;&lt;TD class="xl75" width="118"&gt;Date Value&lt;/TD&gt;&lt;TD class="xl75" width="91"&gt;Date Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl67"&gt;01/01/2017&lt;/TD&gt;&lt;TD class="xl72"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl69"&gt;02/01/2017&lt;/TD&gt;&lt;TD class="xl73"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21"&gt;A&lt;/TD&gt;&lt;TD class="xl71"&gt;03/01/2017&lt;/TD&gt;&lt;TD class="xl74"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;01/01/2017&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl69"&gt;13/02/2017&lt;/TD&gt;&lt;TD class="xl73"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21"&gt;B&lt;/TD&gt;&lt;TD class="xl71"&gt;13/03/2017&lt;/TD&gt;&lt;TD class="xl74"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 10:40:59 GMT</pubDate>
    <dc:creator>simonb2013</dc:creator>
    <dc:date>2017-07-17T10:40:59Z</dc:date>
    <item>
      <title>Synchronizing 2 field filters</title>
      <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317608#M28342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In simple terms, on my 'home' tab,&amp;nbsp; I want users to select from one of two list boxes : &lt;/P&gt;&lt;UL&gt;&lt;LI&gt; [Data Number] or&lt;/LI&gt;&lt;LI&gt;[Date Value]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For subsequent sheets, I am utilizing function : GetFieldSelections(&amp;lt;field&amp;gt;)&lt;/P&gt;&lt;P&gt;As I am offering the user 2 fields to select from, I am having to constantly reference both fields, which leads to lots of if/and/or/but scenarios - complicating set analysis much more than it needs to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I am looking for a way to consolidate the users selections back into 1 field.&lt;/P&gt;&lt;P&gt;Example (using table below) : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; If a user selects [Date number] 2, then both [Date Value] '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;02/01/2017'&amp;nbsp; AND '&lt;SPAN style="font-size: 13.3333px;"&gt;13/02/2017'&amp;nbsp; need to become 'Selected'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that this can be done via triggers, but not quite worked out the method as of yet !&lt;/P&gt;&lt;P&gt;Any tips welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 273px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl75" height="21" width="64"&gt;Category&lt;/TD&gt;&lt;TD class="xl75" width="118"&gt;Date Value&lt;/TD&gt;&lt;TD class="xl75" width="91"&gt;Date Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl67"&gt;01/01/2017&lt;/TD&gt;&lt;TD class="xl72"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl69"&gt;02/01/2017&lt;/TD&gt;&lt;TD class="xl73"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21"&gt;A&lt;/TD&gt;&lt;TD class="xl71"&gt;03/01/2017&lt;/TD&gt;&lt;TD class="xl74"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none;"&gt;01/01/2017&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl69"&gt;13/02/2017&lt;/TD&gt;&lt;TD class="xl73"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21"&gt;B&lt;/TD&gt;&lt;TD class="xl71"&gt;13/03/2017&lt;/TD&gt;&lt;TD class="xl74"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 10:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317608#M28342</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2017-07-17T10:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing 2 field filters</title>
      <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317609#M28343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you load your table as a logical table in Qlik rather than a se of disconnected fields, there is nothing special needed.&amp;nbsp; When you select Date Number = 2, the corresponding values of the Date Value become "possible"&amp;nbsp; (indirectly selected,if you wish).&lt;BR /&gt;(Not clear from your description why you need &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GetFieldSelections(), if you have a reasonable data model.)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 18:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317609#M28343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-17T18:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing 2 field filters</title>
      <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317610#M28344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;.. because I want to isolate values from those selected&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;v1 = SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, ';', 12 ),';',1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;v2 = SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, ';', 12 ),';',2) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If there is a way to do this with 'possible' values, then I am happy with that, but could not see one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 08:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317610#M28344</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2017-07-18T08:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing 2 field filters</title>
      <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317611#M28345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see from your example that you want to create two variables containing Date Value, first and second, and there are always two(?).&amp;nbsp; There are other ways, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;v1 = date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[Date Value]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;v2 = &lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit; color: #800000;"&gt;[Date Value],2&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;v1 = date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[Date Value],[Date Value],1&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;v2 = &lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;FirstSortedValue&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit; color: #800000;"&gt;[Date Value],[Date Value],2&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You maybe need some conditions in case both dates are the same.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 12:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317611#M28345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-18T12:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronizing 2 field filters</title>
      <link>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317612#M28346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so this looks interesting.&lt;/P&gt;&lt;P&gt;No, not always 2, could be up to 6 different values (I'm limiting to 6 on 'reasonable grounds')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'FirstSortedValue' with the rank argument might do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll defo mark as helpful, will come back after a play for more feedback&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 14:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Synchronizing-2-field-filters/m-p/1317612#M28346</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2017-07-18T14:03:25Z</dc:date>
    </item>
  </channel>
</rss>

