<?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 Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160377#M886506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count(DAYS_PENDING) &amp;gt; 1,'Unassigned', 'assigned')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;If(Len(&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Count(DAYS_PENDING)) &amp;gt; 1,'Unassigned', 'assigned')&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 14:54:45 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-09-07T14:54:45Z</dc:date>
    <item>
      <title>ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160375#M886504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DAYS_PENDING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) for a stragiht table with dimensions Division, Region and PendingBucket.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I would like to create a list box that represents the straight table above, into two categories. Assigned vs UnAssigned. If count is greater then 1 Unassigned, else Assigned. &lt;/SPAN&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/ListBox-Expression/m-p/1160375#M886504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160376#M886505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a sample qvw that you can share, so that we can make you a solution for your issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160376#M886505</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-09-07T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160377#M886506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count(DAYS_PENDING) &amp;gt; 1,'Unassigned', 'assigned')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;If(Len(&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Count(DAYS_PENDING)) &amp;gt; 1,'Unassigned', 'assigned')&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160377#M886506</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-07T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160378#M886507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As a first attempt create a listbox with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(If(count(DAYS_PENDING) &amp;gt;1,'Assigned','Unassigned'), &lt;STRONG&gt;FieldName&lt;/STRONG&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing to figure out here is the Fieldname to choose, try it on the dimension with the finest granularity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there might be a bit of work to be done on the logic behind your requirements before we can get a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160378#M886507</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-07T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160379#M886508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would create the two buckets for you, but will not work well based on selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Count(DAYS_PENDING) &amp;gt; 1, 'Unassigned', 'Assigned'),&lt;STRONG style="font-size: 13.3333px;"&gt; Division, Region and PendingBucket)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you do the count in the script to create the flag for unassigned and assigned?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160379#M886508</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-07T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: ListBox Expression</title>
      <link>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160380#M886509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to create a Case Statement in my Script to solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;CASE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; A.FIRST_ASSGN_DT &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Assigned'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; A.FIRST_CONTACT_DT &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Assigned'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;WHEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; A.FIRST_VISIT_DT &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;IS&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'Assigned'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;'UnAssigned'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 10pt;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 10pt;"&gt; Assigned&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ListBox-Expression/m-p/1160380#M886509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-07T18:11:55Z</dc:date>
    </item>
  </channel>
</rss>

