<?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: Alternate State in a list box expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236859#M866815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this resolved? If it is, I would suggest you to mark correct response to close this thread. If not, then please let us know what is missing.&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>Fri, 09 Dec 2016 12:09:43 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-09T12:09:43Z</dc:date>
    <item>
      <title>Alternate State in a list box expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236856#M866812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have 2 Alternate States and I would like to move any selection in the Business Area list box to another Alternate State.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As you can see below I am concatenating a string and using the Tree View on the '||' ket to split the string, unsuccessfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BusinessArea&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Base Selection]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;::BusinessArea &amp;amp; '||'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Escalate To from Logged By Group] &lt;/SPAN&gt;&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="font-size: 8pt;"&gt;The goal is to minimize the number of selections in the second state when BusinessArea is selected in the first state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If I can link the Business Area to the first state then a long list in the second alternate state will improve the look and feel and shortening the possible selections.&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="font-size: 8pt;"&gt;Thanks&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236856#M866812</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State in a list box expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236857#M866813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not too clear to me what you want to achieve, but as this is in a listbox maybe try using this formula instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Only({$ * [Base Selection]} BusinessArea &amp;amp; '||'&amp;amp; [Escalate To from Logged By Group]), &lt;SPAN style="font-size: 13.3333px;"&gt;BusinessArea, &lt;SPAN style="font-size: 13.3333px;"&gt;[Escalate To from Logged By Group]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slicing, dicing and glueing back alternate states together has to be done as part of set analysis, which means aggregation, and if you want to use aggregation results for a listbox, it means Aggr() function, as it is the only one that returns a list of values instead of one value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 11:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236857#M866813</guid>
      <dc:creator>kuba_michalik</dc:creator>
      <dc:date>2016-12-09T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State in a list box expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236858#M866814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks, my final formula is :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ONLY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Base Selection]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BusinessArea&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'||'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Escalate To from Logged By Group]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BusinessArea]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Escalate To from Logged By Group]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 11:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236858#M866814</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2016-12-09T11:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State in a list box expression</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236859#M866815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this resolved? If it is, I would suggest you to mark correct response to close this thread. If not, then please let us know what is missing.&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>Fri, 09 Dec 2016 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-in-a-list-box-expression/m-p/1236859#M866815</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-09T12:09:43Z</dc:date>
    </item>
  </channel>
</rss>

