<?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: how to check if value selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396937#M1157520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SubStringCount(GetFieldSelections(FieldName, ',', 100), 'Dec 2012')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2013 19:27:47 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-02-03T19:27:47Z</dc:date>
    <item>
      <title>how to check if value selected</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396936#M1157519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a box called monthName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that contains&amp;nbsp;&amp;nbsp;&amp;nbsp; Dec 2012, Jan 2013 , Feb 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column in pivot table for Dec 2012 but i want to hide this if dec 2012 is not selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the formula to be put in conditional so that if i select multiple dates and Dec 2012 is one of the selection to show the column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else hide it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 16:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396936#M1157519</guid>
      <dc:creator />
      <dc:date>2013-02-03T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to check if value selected</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396937#M1157520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SubStringCount(GetFieldSelections(FieldName, ',', 100), 'Dec 2012')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 19:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396937#M1157520</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-02-03T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to check if value selected</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396938#M1157521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Enable conditonal for dimension Dec 2012, and use this condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubStringCount(GetFieldSelections(FieldName, ',', 100), 'Dec 2012') &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select Dec 2012, then the dimension will be shown, otherwise it is hidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 19:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396938#M1157521</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-03T19:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to check if value selected</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396939#M1157522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this method with SubStringCount would not work, if the desired value is contained in another value.&lt;/P&gt;&lt;P&gt;Example: There is a selected value 'Another Dec 2012', but 'Dec 2012' is not selected. SubStringCount would deliver a return value &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Therefore we would beter choose a set analysis:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=Count({$&amp;lt;FieldName*={'Value'}&amp;gt;}FieldName) &amp;gt; 0&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;In your case:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Count({$&amp;lt;monthName*={'Dec 2012'}&amp;gt;}monthName) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 13:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-check-if-value-selected/m-p/396939#M1157522</guid>
      <dc:creator />
      <dc:date>2015-06-12T13:15:02Z</dc:date>
    </item>
  </channel>
</rss>

