<?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: Expression help for Conditional Show/Hide in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415130#M1159276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a similar issue. I want to a chart to display only if a single value within a specific column has been selected. I would have thought that the following should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(COUNT(DISTINCT(ProcessStage))=1,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put this into a text box it does display 0 when it shouldn't be visible and 1 when it should be. However when I put it into the "show conditional" field of the graph it no longer works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 07:09:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-10T07:09:47Z</dc:date>
    <item>
      <title>Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415126#M1159272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two charts superimposed and at any time I need to show only one of them. &lt;/P&gt;&lt;P&gt;The condition determining which one should appear is determined by column Company having only 3 values A, B and C.&lt;/P&gt;&lt;P&gt;I have a list box that is used to filter on one or more values among the three.&lt;/P&gt;&lt;P&gt;When nothing is selected or when C is selected Chart 1 shows &lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;if(Company = 'A' OR Company = 'B'&amp;nbsp; OR (Company = 'A' AND Company = 'B'),0,1)&lt;/P&gt;&lt;P&gt;Alternatively I have also tried this &lt;/P&gt;&lt;P&gt;if(Company = 'A' OR Company = 'B' ,0,&lt;/P&gt;&lt;P&gt;if(Company = 'C',1 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When A or B or Both A and B are selected Chart 2 should show&lt;/P&gt;&lt;P&gt;if(Company = 'A' OR Company = 'B',1 ,&lt;/P&gt;&lt;P&gt;if(Company = 'A' AND Company = 'B' ,1,0 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I select either A or B Chart 2 shows up but when I select both A and B, chart 1 shows up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 20:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415126#M1159272</guid>
      <dc:creator />
      <dc:date>2012-12-06T20:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415127#M1159273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(match(GetFieldSelections(Company),'A','B','A, B'),1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 21:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415127#M1159273</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-06T21:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415128#M1159274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have only one Company selected Company will equal the selection, but if you have both selected, it will yield a null value.&amp;nbsp; Instead use Match() on GetFieldSelection(). Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 21:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415128#M1159274</guid>
      <dc:creator />
      <dc:date>2012-12-06T21:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415129#M1159275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mayil and Rebecca. It worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 21:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415129#M1159275</guid>
      <dc:creator />
      <dc:date>2012-12-06T21:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415130#M1159276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a similar issue. I want to a chart to display only if a single value within a specific column has been selected. I would have thought that the following should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(COUNT(DISTINCT(ProcessStage))=1,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put this into a text box it does display 0 when it shouldn't be visible and 1 when it should be. However when I put it into the "show conditional" field of the graph it no longer works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 07:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415130#M1159276</guid>
      <dc:creator />
      <dc:date>2013-12-10T07:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression help for Conditional Show/Hide</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415131#M1159277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel - for your issue it sounds like it would be better to use If(GetSelectedCount(FieldName)=1,1,0) for your conditional field.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-help-for-Conditional-Show-Hide/m-p/415131#M1159277</guid>
      <dc:creator />
      <dc:date>2013-12-10T14:06:49Z</dc:date>
    </item>
  </channel>
</rss>

