<?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: Listbox - Expand all always active in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853535#M995003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/smakovskyi"&gt;smakovskyi&lt;/A&gt; &amp;amp; &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/RubenMarin"&gt;RubenMarin&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;Thank you for your fast and good reply.&lt;/P&gt;&lt;P&gt;The meaning is good, in fact, the treeview remain open...BUT!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't reach my orginal goal (and I am realizing that's my fault, I didn't say something important).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The orginal expression was:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Trim(SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;, '/', -1))) &amp;gt; 0, &lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;),&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;,&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and reasons are;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;= cause I need to show only data and subdata of one specified major level (who can change randomly by customers)&lt;/P&gt;&lt;P&gt;In the example attached now, I saved with "Drinks" in Main Listbox, and in SelectionPath, only data related to Drinks are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Len-Trim&lt;/SPAN&gt;= cause some subdata could have blanks and in the treeview they fit bad. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your solution (that is not so bad at all), the problem is that customer could see "Food" stuff, if "Drinks" are selected and viceversa.&lt;/P&gt;&lt;P&gt;This is the bad news.&lt;/P&gt;&lt;P&gt;Good one is that any others solution applicable are allowed. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...do we have some? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 14:12:40 GMT</pubDate>
    <dc:creator>marleygt</dc:creator>
    <dc:date>2015-06-30T14:12:40Z</dc:date>
    <item>
      <title>Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853532#M995000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is seemingly easy, but is not for the general situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I begin to ask this and then we'll see what happens &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Is possibile to keep expanded a treeview listbox, whatever could be the selections, but with &lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt; function active? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attachment a sample of what I need.&lt;/P&gt;&lt;P&gt;(treeview expanded, aggr function, and the goal is to let the treeview always expanded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions?&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;&lt;EM style="color: #999999;"&gt;Alex&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 13:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853532#M995000</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-06-30T13:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853533#M995001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression for ListBox:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=aggr(only({1}If(Len(Trim(SubField(SelectionPath, '/', -1))) &amp;gt; 0, SelectionPath)),SelectionPath)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 13:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853533#M995001</guid>
      <dc:creator />
      <dc:date>2015-06-30T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853534#M995002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, PFA, I tried to simulate the always-expanded tree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 13:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853534#M995002</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-30T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853535#M995003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/smakovskyi"&gt;smakovskyi&lt;/A&gt; &amp;amp; &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/RubenMarin"&gt;RubenMarin&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;Thank you for your fast and good reply.&lt;/P&gt;&lt;P&gt;The meaning is good, in fact, the treeview remain open...BUT!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't reach my orginal goal (and I am realizing that's my fault, I didn't say something important).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The orginal expression was:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Trim(SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;, '/', -1))) &amp;gt; 0, &lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;),&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;,&lt;SPAN style="color: #993366;"&gt;SelectionPath&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and reasons are;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;= cause I need to show only data and subdata of one specified major level (who can change randomly by customers)&lt;/P&gt;&lt;P&gt;In the example attached now, I saved with "Drinks" in Main Listbox, and in SelectionPath, only data related to Drinks are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Len-Trim&lt;/SPAN&gt;= cause some subdata could have blanks and in the treeview they fit bad. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your solution (that is not so bad at all), the problem is that customer could see "Food" stuff, if "Drinks" are selected and viceversa.&lt;/P&gt;&lt;P&gt;This is the bad news.&lt;/P&gt;&lt;P&gt;Good one is that any others solution applicable are allowed. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...do we have some? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853535#M995003</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-06-30T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853536#M995004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's impossible in QV to make such listbox 'Always expanded'. When you choose another option - for example when you use another expression, like:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=aggr(only({$&amp;lt;SelectionPath=&amp;gt;}If(Len(Trim(SubField(SelectionPath, '/', -1))) &amp;gt; 0, SelectionPath)),SelectionPath)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Then your listbox will Expand and Collapse on most selexts in other than SelectionPath field. &lt;/P&gt;&lt;P&gt;Otherwise there should be used some workarounds - substitution like &lt;A href="https://community.qlik.com/qlik-users/21969"&gt;RubenMarin&lt;/A&gt;‌ mentioned, or with pivot table, or some another way. But it won't be a Listbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853536#M995004</guid>
      <dc:creator />
      <dc:date>2015-06-30T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853537#M995005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;So no alternative in listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main problem is that in real project, "Main" inlcudes a lots of data...that's the main reason for needing a restricted selection based on the first listbox choose (Main) ; secondly, the idea behind is analysis on Specified Area made by customer and if the listbox shows alternatives, the selected area market could change on selection of any data excluded. (for this I've tried the "hide exclude" and as well as be looks ugly, it only shows one selection and no parents above (customer ask to see for istance, "Swordifish" belonging to "Fish" category..."hide exclude" will cover also "Fish" category if active).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mmmhhh....so do you think I could try out some other ways, like pivot table? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853537#M995005</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-06-30T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853538#M995006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you could. But do understand that each decision has it's limits.&lt;/P&gt;&lt;P&gt;Listbox has unlimited tree levels, but doesn't have option 'Always expanded'.&lt;/P&gt;&lt;P&gt;Pivot table has option 'Always expanded', but has fixed size of tree levels...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853538#M995006</guid>
      <dc:creator />
      <dc:date>2015-06-30T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Listbox - Expand all always active</title>
      <link>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853539#M995007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;Need to make some test in pivot and then I will decide for the best one.&lt;/P&gt;&lt;P&gt;Thank you anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Listbox-Expand-all-always-active/m-p/853539#M995007</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-06-30T14:55:13Z</dc:date>
    </item>
  </channel>
</rss>

