<?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 Load Table based on Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779529#M717767</link>
    <description>&lt;P&gt;I need to load data from a table based on multiple conditions.&lt;/P&gt;&lt;P&gt;Load Data only if the ID&amp;gt;0 and Not (Tagged=No and Reg_Date&amp;lt;=Today)&lt;/P&gt;&lt;P&gt;How do I combine Where and Where Not in the same Load Script table condition? Also, Not (Tagged=No and Reg_Date&amp;lt;=Today) means, DO NOT Load if both conditions are met, not either or. How do I combine these two conditions and load data?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:32:05 GMT</pubDate>
    <dc:creator>qlikwiz123</dc:creator>
    <dc:date>2024-11-16T17:32:05Z</dc:date>
    <item>
      <title>Load Table based on Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779529#M717767</link>
      <description>&lt;P&gt;I need to load data from a table based on multiple conditions.&lt;/P&gt;&lt;P&gt;Load Data only if the ID&amp;gt;0 and Not (Tagged=No and Reg_Date&amp;lt;=Today)&lt;/P&gt;&lt;P&gt;How do I combine Where and Where Not in the same Load Script table condition? Also, Not (Tagged=No and Reg_Date&amp;lt;=Today) means, DO NOT Load if both conditions are met, not either or. How do I combine these two conditions and load data?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779529#M717767</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2024-11-16T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load Table based on Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779562#M717769</link>
      <description>&lt;P&gt;Below is the script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vToday = Date(Today(),'M/D/YYYY') ;&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;BR /&gt;Tagged,&lt;BR /&gt;Reg_Date&lt;BR /&gt;FROM&lt;BR /&gt;[Test.csv]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;BR /&gt;where ID &amp;gt; 0 and Not (Tagged = 'No' and Date(Reg_Date,'M/D/YYYY') &amp;lt;= '$(vToday)' ) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 02:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779562#M717769</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-03T02:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load Table based on Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779564#M717770</link>
      <description>&lt;P&gt;I tested with below sample data in Test.csv file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="skamath1_0-1612318032178.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/48322i093A7E715143B3AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="skamath1_0-1612318032178.png" alt="skamath1_0-1612318032178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ID, Tagged,Reg_Date&lt;BR /&gt;1, Yes,3/1/2021&lt;BR /&gt;2, No, 1/20/2021&lt;BR /&gt;0, No, 2/28/2021&lt;BR /&gt;3, Yes,1/10/2021&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 02:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779564#M717770</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-03T02:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load Table based on Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779565#M717771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9788"&gt;@qlikwiz123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;Load * from ursource where&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;ID&amp;gt;0 and Not (Tagged='No' and floor(Reg_Date)&amp;lt;= floor(Today()));&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 02:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Table-based-on-Conditions/m-p/1779565#M717771</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-02-03T02:08:50Z</dc:date>
    </item>
  </channel>
</rss>

