<?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 Add expression into list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416291#M427786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an expression in a straight table and i would like to add this into a list box so that users are able to filter via the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried numerous ways to add this expression but i know that it wont accept TOTAL.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is the only way to achieve this by doing a GROUP BY in my script? Will this not affect all of my query?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is my expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;'250.00' and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='500.00','2) £250 - £500',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;='0.00' and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='250.00','1) &amp;lt; £250'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated&lt;STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 09:21:03 GMT</pubDate>
    <dc:creator>samantha92</dc:creator>
    <dc:date>2017-08-31T09:21:03Z</dc:date>
    <item>
      <title>Add expression into list box</title>
      <link>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416291#M427786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an expression in a straight table and i would like to add this into a list box so that users are able to filter via the list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried numerous ways to add this expression but i know that it wont accept TOTAL.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is the only way to achieve this by doing a GROUP BY in my script? Will this not affect all of my query?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is my expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;'250.00' and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='500.00','2) £250 - £500',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;='0.00' and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='250.00','1) &amp;lt; £250'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated&lt;STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 09:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416291#M427786</guid>
      <dc:creator>samantha92</dc:creator>
      <dc:date>2017-08-31T09:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add expression into list box</title>
      <link>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416292#M427787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;'250.00' and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='500.00','2) £250 - £500',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;gt;='0.00' and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(TOTAL &amp;lt;[SWIFT ID]&amp;gt;RV_WEEKLY_COST) &amp;lt;='250.00','1) &amp;lt; £250'))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;, dim1, dim2..)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dim1, dim2.. would be your chart dimensions that the aggregation is carried out against.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 10:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416292#M427787</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-31T10:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add expression into list box</title>
      <link>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416293#M427788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If what &lt;A href="https://community.qlik.com/people/tresesco"&gt;tresesco&lt;/A&gt;‌ gave doesn't work, would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416293#M427788</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T12:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add expression into list box</title>
      <link>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416294#M427789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-expression-into-list-box/m-p/1416294#M427789</guid>
      <dc:creator>samantha92</dc:creator>
      <dc:date>2017-08-31T12:29:26Z</dc:date>
    </item>
  </channel>
</rss>

