<?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: Data from Table A , B with some condition.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914197#M317124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93917_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2015 14:49:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-07-24T14:49:45Z</dc:date>
    <item>
      <title>Data from Table A , B with some condition..</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914196#M317123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below table with fields VID, LID and Category and Subcategory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Table1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 402px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" width="72"&gt;VID&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="72"&gt;LID&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="186"&gt;category&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="72"&gt;SubCategory&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;V12&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L09&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;V36&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L32&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;V65&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;M87&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L8&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;M90&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L5&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;C63&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L8&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;J18&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;L9&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none;"&gt;P27&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 249px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="19" style="padding: 2px;" width="72"&gt;LID&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="105"&gt;Llocation&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="72"&gt;Category&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9555034&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;China&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9645384&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;China&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9712371&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;India&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9712383&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;India&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9712395&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SL&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9712474&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;USA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;HC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9713337&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;AFG&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;DA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9713349&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;HK&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;JP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="19" style="border-top: none;"&gt;L9713351&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;SA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;&lt;P&gt;HC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a chart which will have all fields of Table1&amp;nbsp; where SubCategory is either L or D. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 743px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" style="padding: 2px;" width="743"&gt;1. Copy all rows from Table A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19"&gt;2. Add&amp;nbsp; LID's from Table B (Only when Category Is not HC)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 14:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914196#M317123</guid>
      <dc:creator />
      <dc:date>2015-07-24T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Table A , B with some condition..</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914197#M317124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93917_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 14:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914197#M317124</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-24T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Table A , B with some condition..</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914198#M317125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in Load Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Final1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubCategory&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='L'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubCategory&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='C';&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VID, LID, category, SubCategory &lt;BR /&gt; V12, L09, HC, L &lt;BR /&gt; V36, L32, HC, D &lt;BR /&gt; V65, ,HC, D &lt;BR /&gt; M87, L8, HC, L &lt;BR /&gt; M90, L5, HC, C &lt;BR /&gt; C63, L8, HC, L &lt;BR /&gt; J18, L9, HC, M &lt;BR /&gt; P27, ,HC, D &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; Final2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NA' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='DA' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='JP' ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LID, Llocation, Category &lt;BR /&gt; L9555034, China, HC &lt;BR /&gt; L9645384, China, HC &lt;BR /&gt; L9712371, India, HC &lt;BR /&gt; L9712383, India, NA &lt;BR /&gt; L9712395, SL, NA &lt;BR /&gt; L9712474, USA, HC &lt;BR /&gt; L9713337, AFG, DA &lt;BR /&gt; L9713349,HK, JP &lt;BR /&gt; L9713351,SA, HC&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Shekar!!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2015 15:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Table-A-B-with-some-condition/m-p/914198#M317125</guid>
      <dc:creator />
      <dc:date>2015-07-24T15:19:37Z</dc:date>
    </item>
  </channel>
</rss>

