<?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: FirstSortedValue along with Trigger not working. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247452#M395342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are trying to do, but try this to see if this is what you were looking for (New Product list box in the attached application)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Only({&amp;lt;Product&amp;gt;}Product), Product)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 23:49:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-14T23:49:21Z</dc:date>
    <item>
      <title>FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247446#M395336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have a sample application with below set of value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, Product, Rank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country1, Product1, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country1, Product2, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country2, Product2, 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In above example, FirstSortedValue of Country1 is Product1 and for Country2 is Product2 by using the expression =FirstSortedValue(Product,Rank).&lt;/P&gt;&lt;P&gt;But when I have two list boxes one for Country and another one for Product and when I try to add trigger to field level to Country field to select FirstSortedValue in Product list whenever a Country is selected.&lt;/P&gt;&lt;P&gt;When I select Country1 Product1 is selected and when i select Country2 Product2 is selected. &lt;/P&gt;&lt;P&gt;The issue is when I select Country1 again Product2 is selected or it is not selecting Product1. Tried adding Clear Field event too but nothing helps me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247446#M395336</guid>
      <dc:creator>bluecarbon</dc:creator>
      <dc:date>2016-11-14T16:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247447#M395337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use this as your search string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Product&amp;gt;}&lt;/SPAN&gt;Product,Rank)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247447#M395337</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-14T16:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247448#M395338</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;change trigger like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue({$&amp;lt;Product=&amp;gt;}Product,Rank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes, Sergey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247448#M395338</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2016-11-14T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247449#M395339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks,&lt;/P&gt;&lt;P&gt;Can you explain me what is the set expression doing here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247449#M395339</guid>
      <dc:creator>bluecarbon</dc:creator>
      <dc:date>2016-11-14T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247450#M395340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was that once a single product was selected, the firstsortedvalue was not able to look for anything outside of that selection. So even when Country1 was selected back, the only possible value was Product2. Once we ignored selection in Product field, we got what we wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247450#M395340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-14T17:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247451#M395341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;If I m using an expression for displaying the products belonging to country then I m not able to make any further selections to Product List box.&lt;/P&gt;&lt;P&gt;Product List box as expression&amp;nbsp;&amp;nbsp; =If(Country=GetFieldSelections(Country),Product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247451#M395341</guid>
      <dc:creator>bluecarbon</dc:creator>
      <dc:date>2016-11-14T22:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue along with Trigger not working.</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247452#M395342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are trying to do, but try this to see if this is what you were looking for (New Product list box in the attached application)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Only({&amp;lt;Product&amp;gt;}Product), Product)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 23:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-along-with-Trigger-not-working/m-p/1247452#M395342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-14T23:49:21Z</dc:date>
    </item>
  </channel>
</rss>

