<?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: Conditional Expression based on List Boxes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483641#M180723</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Carlos, it worked like a charm !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 21:06:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-05T21:06:30Z</dc:date>
    <item>
      <title>Conditional Expression based on List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483639#M180721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some advice, I have a list box that has three values from an inline table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100&amp;nbsp;&amp;nbsp; Other&lt;/P&gt;&lt;P&gt;200&amp;nbsp;&amp;nbsp; Purchase&lt;/P&gt;&lt;P&gt;300&amp;nbsp;&amp;nbsp; Rental&lt;/P&gt;&lt;P&gt;I sum a monetary field and create a total for each of these values, so the table looks like this&lt;/P&gt;&lt;P&gt;Purchase&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rentals&amp;nbsp;&amp;nbsp; Other&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total&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;&amp;nbsp;&amp;nbsp; ###$ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user selects Other I only want the Other and Total columns to show, If a user selects Purchase and Rentals I want only Purchase, rental and Total columns to show but NOT other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens is if the user select one of the list choices only that field shows, I can also get all of them to show when nothing is selected by using getselectedcount = 0.&amp;nbsp; What I can't get is two of the fields to show.&amp;nbsp; So if a user selects BOTH purchase and rentals nothing shows. Is there a way to get this to work ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483639#M180721</guid>
      <dc:creator />
      <dc:date>2013-11-05T20:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression based on List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483640#M180722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SubstringCount. For instance, the conditional for the Purchase expresion would be the next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubstringCount( Concat ( Field, ' | '), 'Purchase') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to make sure that Purchase is selected then you only have to add the GetSelectedCount function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubstringCount( Concat ( Field, ' | '), 'Purchase')&amp;nbsp;&amp;nbsp; AND GetSelectedCount( Field ) &amp;gt;=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483640#M180722</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-11-05T20:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Expression based on List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483641#M180723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Carlos, it worked like a charm !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Expression-based-on-List-Boxes/m-p/483641#M180723</guid>
      <dc:creator />
      <dc:date>2013-11-05T21:06:30Z</dc:date>
    </item>
  </channel>
</rss>

