<?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 Adding calculations to Multi Boxes for selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-calculations-to-Multi-Boxes-for-selection/m-p/301445#M496449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column in a table that is calculated using the following logic:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;VISIT_TYPE={'ER'}&amp;gt;} DISTINCT VISITNUMBER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a selection item to my Mulit box that says:&lt;BR /&gt;if(count({$&amp;lt;VISIT_TYPE={'ER'}&amp;gt;} DISTINCT VISITNUMBER)&amp;gt;'0','Yes','No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the user to filter on all records where the visit count is greater than 0. QV doesn't like the calculation in the Mulit box and grays out the selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 21:37:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-14T21:37:53Z</dc:date>
    <item>
      <title>Adding calculations to Multi Boxes for selection</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-calculations-to-Multi-Boxes-for-selection/m-p/301445#M496449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column in a table that is calculated using the following logic:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;VISIT_TYPE={'ER'}&amp;gt;} DISTINCT VISITNUMBER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a selection item to my Mulit box that says:&lt;BR /&gt;if(count({$&amp;lt;VISIT_TYPE={'ER'}&amp;gt;} DISTINCT VISITNUMBER)&amp;gt;'0','Yes','No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow the user to filter on all records where the visit count is greater than 0. QV doesn't like the calculation in the Mulit box and grays out the selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 21:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-calculations-to-Multi-Boxes-for-selection/m-p/301445#M496449</guid>
      <dc:creator />
      <dc:date>2011-12-14T21:37:53Z</dc:date>
    </item>
    <item>
      <title>Adding calculations to Multi Boxes for selection</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-calculations-to-Multi-Boxes-for-selection/m-p/301446#M496450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, boyer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's right, QV does not know any selection possibility for your Yes or No. You must integrat it to your Script. Use a simple If-Then-Else-Statement, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load ...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(VISIT_TYPE='ER','Yes','No') As SelectionVisitType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;From ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings from Munich&lt;/P&gt;&lt;P&gt;Martina&lt;/P&gt;&lt;P&gt;EVACO GmbH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 14:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-calculations-to-Multi-Boxes-for-selection/m-p/301446#M496450</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-12-15T14:31:29Z</dc:date>
    </item>
  </channel>
</rss>

