<?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 General If show condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252567#M95746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I realised that there is a difference between using &amp;amp; - and for the conditions.... anyways thanks for the help it worked exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2011 10:07:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-04T10:07:33Z</dc:date>
    <item>
      <title>General If show condition</title>
      <link>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252564#M95743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to hide some charts based on the conditions as seen below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(LTVType.Description = 'LTV (BTL)'&amp;amp; if(Granularity = 'YTD'),1,0) --- If i use this show condition, it doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(LTVType.Description = 'LTV (BTL)', if(Granularity = 'YTD',1,0)) --- If i use this show condition, it shows up whenever I click on YTD ignoring the LTV BTL...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check it to check for both the show conditions... am i doing something wrong?? please suggest.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 09:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252564#M95743</guid>
      <dc:creator />
      <dc:date>2011-07-04T09:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: General If show condition</title>
      <link>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252565#M95744</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;The conditional should be using AND instead, as in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;if(LTVType.Description = 'LTV (BTL)' AND Granularity = 'YTD', 1, 0)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what you say seems like everytime you select "YTD" in Granularity, "LTV (BTL)" is selected as well in the LTVType.Description field, maybe because both tables are associated? That explains that everytime you click "YTD" in Granularity the first part of the first If() is true. You may need to use GetFieldSelections() or Count() instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 09:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252565#M95744</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-07-04T09:59:22Z</dc:date>
    </item>
    <item>
      <title>General If show condition</title>
      <link>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252566#M95745</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;&amp;nbsp;&amp;nbsp; Use And keyword instead of &amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So your expression will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(LTVType.Description = 'LTV (BTL)' and Granularity = 'YTD',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 09:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252566#M95745</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-04T09:59:24Z</dc:date>
    </item>
    <item>
      <title>General If show condition</title>
      <link>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252567#M95746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I realised that there is a difference between using &amp;amp; - and for the conditions.... anyways thanks for the help it worked exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 10:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/General-If-show-condition/m-p/252567#M95746</guid>
      <dc:creator />
      <dc:date>2011-07-04T10:07:33Z</dc:date>
    </item>
  </channel>
</rss>

