<?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 Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078702#M359675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the Layout tab for each chart. On there you will find a Show option in the middle on the right-hand side. For table A set something like this in there:&lt;/P&gt;&lt;P&gt;var = 1&lt;/P&gt;&lt;P&gt;For table B something like this:&lt;/P&gt;&lt;P&gt;var &amp;lt;&amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean in your script, you could work with a CASE:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?Highlight=case" title="http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?Highlight=case"&gt;http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?High…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 10:08:44 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2016-02-09T10:08:44Z</dc:date>
    <item>
      <title>Conditional Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078701#M359674</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 Two table A,and B and a variable var&lt;/P&gt;&lt;P&gt;if var value is 1 then load the table A else load the table B &lt;/P&gt;&lt;P&gt;any suggestion on this???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078701#M359674</guid>
      <dc:creator />
      <dc:date>2016-02-09T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078702#M359675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the Layout tab for each chart. On there you will find a Show option in the middle on the right-hand side. For table A set something like this in there:&lt;/P&gt;&lt;P&gt;var = 1&lt;/P&gt;&lt;P&gt;For table B something like this:&lt;/P&gt;&lt;P&gt;var &amp;lt;&amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean in your script, you could work with a CASE:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?Highlight=case" title="http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?Highlight=case"&gt;http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/Scripting/ScriptControlStatements/Switch.htm?High…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078702#M359675</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-02-09T10:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078703#M359676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF $(Var) = 1 then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD fieldNames&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM TableA;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD fieldNames&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM TableB;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDIF&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078703#M359676</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-09T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078704#M359677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;IF var = 1 THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TableA:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM TableSource (options);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ELSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TableB:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM OtherTableSource (options);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;You can add an inputbox couple to var on a sheet to control the script code execution path.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 10:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Table/m-p/1078704#M359677</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-09T10:12:32Z</dc:date>
    </item>
  </channel>
</rss>

