<?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: Table creation in script question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731847#M673203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds like good answer kurpat! i think you desrve the points on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 18:25:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-22T18:25:44Z</dc:date>
    <item>
      <title>Table creation in script question</title>
      <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731844#M673200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a table in my data model called AllData. I would like to create a new table (called PreviousData) in the same data model that loads all the fields from AllData, but only for a specific date (which is a field in AllData). I can't seem to get the syntax right. Can somebody help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd assume it looks something like what I have below but I'm not sure where to put the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PreviousData:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident AllData;&lt;/P&gt;&lt;P&gt;where PROD_DT = '07/31/2014';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 18:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731844#M673200</guid>
      <dc:creator />
      <dc:date>2014-08-22T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table creation in script question</title>
      <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731845#M673201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It goes after the resident load like you have it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PreviousData:&lt;/P&gt;&lt;P&gt;NoConcatenate Load *&lt;/P&gt;&lt;P&gt;Resident AllData&lt;/P&gt;&lt;P&gt;where PROD_DT = '07/31/2014';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create synthetic keys since the fields you are loading in are the same as the AllData table (notice the noconcatenate keyword to prevent the tables from joining). You'll after to worry about how it will link (or won't link) to your data. Maybe as simple as just changing the field names in PreviousData to something different or using qualify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 18:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731845#M673201</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-08-22T18:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table creation in script question</title>
      <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731846#M673202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try Below&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PreviousData:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident AllData&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where PROD_DT = '07/31/2014';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;UnQualify *;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It will not create syenthetic key.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 18:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731846#M673202</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-22T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table creation in script question</title>
      <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731847#M673203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds like good answer kurpat! i think you desrve the points on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 18:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731847#M673203</guid>
      <dc:creator />
      <dc:date>2014-08-22T18:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table creation in script question</title>
      <link>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731848#M673204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your friend - KILGORE WATTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 18:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-creation-in-script-question/m-p/731848#M673204</guid>
      <dc:creator />
      <dc:date>2014-08-22T18:26:13Z</dc:date>
    </item>
  </channel>
</rss>

