<?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 get any select trigger not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/get-any-select-trigger-not-working/m-p/620406#M228417</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;I want to implement always select one value using trigger. I have put the following expression in the select field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(CrimeDates) = 0 and GetActiveSheetId()='Document\SH29',max({1}OffenseDateConv),GetFieldSelections(CrimeDates))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is that if there is no selection, then the maximum value of offense date should be picked into the crimedate. However if a selection has been made from the calendar (crimedate), then the selected date should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above expression, if I exclude the second condition &lt;STRONG&gt;(GetFieldSelections(CrimeDates))&lt;/STRONG&gt;, then on pressing the clear all button, the max offense date is selected in the listbox but if I put the second condition &lt;STRONG&gt;GetFieldSelections(CrimeDates)), &lt;/STRONG&gt;the trigger does not work properly. It does not pick the max value on clearing and it does not select multiple values from the listbox. it clears the listbox if I select multiple values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me whats wrong with the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2014 03:10:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-24T03:10:29Z</dc:date>
    <item>
      <title>get any select trigger not working</title>
      <link>https://community.qlik.com/t5/QlikView/get-any-select-trigger-not-working/m-p/620406#M228417</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;I want to implement always select one value using trigger. I have put the following expression in the select field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(CrimeDates) = 0 and GetActiveSheetId()='Document\SH29',max({1}OffenseDateConv),GetFieldSelections(CrimeDates))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is that if there is no selection, then the maximum value of offense date should be picked into the crimedate. However if a selection has been made from the calendar (crimedate), then the selected date should be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above expression, if I exclude the second condition &lt;STRONG&gt;(GetFieldSelections(CrimeDates))&lt;/STRONG&gt;, then on pressing the clear all button, the max offense date is selected in the listbox but if I put the second condition &lt;STRONG&gt;GetFieldSelections(CrimeDates)), &lt;/STRONG&gt;the trigger does not work properly. It does not pick the max value on clearing and it does not select multiple values from the listbox. it clears the listbox if I select multiple values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please tell me whats wrong with the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 03:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-any-select-trigger-not-working/m-p/620406#M228417</guid>
      <dc:creator />
      <dc:date>2014-02-24T03:10:29Z</dc:date>
    </item>
  </channel>
</rss>

