<?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: Help : load all the files and insert calculated columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464688#M486730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *,year(Date) as Year;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sql Select * from abc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just include the load statement as shown above.&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>Thu, 21 Mar 2013 11:20:24 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-03-21T11:20:24Z</dc:date>
    <item>
      <title>Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464682#M486722</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;I want to load all the colums of a qvd file :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;\\As01\qlikview\loader\QV_TOU_FACTURATION.QVD&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I also want to add some other calculated columns like &lt;/P&gt;&lt;P&gt;year( DATE_ARRIVEE_PRODUIT) as YEAR_ARRIVEE_PRODUIT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the syntax I have to use in the expression loader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works if I write all the colums that exist in the qvd file:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CS_PID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE_ARRIVEE_PRODUIT, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year( DATE_ARRIVEE_PRODUIT) as YEAR_ARRIVEE_PRODUIT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;\\As01\qlikview\loader\QV_TOU_FACTURATION.QVD&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have enormously colums and I would prefer to charge all the colums in one expression by using " * "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laurent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 10:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464682#M486722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464683#M486723</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;&amp;nbsp;&amp;nbsp; You can try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *,Year(Date) as year.&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>Thu, 21 Mar 2013 10:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464683#M486723</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-21T10:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464684#M486724</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;I have the message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erreur de syntaxe, FROM manquant ou mal placé :&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my document, if necessary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 10:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464684#M486724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T10:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464685#M486726</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;&amp;nbsp;&amp;nbsp; You must remove the ',' Comma from the last field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the attachment.&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>Thu, 21 Mar 2013 10:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464685#M486726</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-21T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464686#M486727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 11:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464686#M486727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T11:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464687#M486728</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;Thank you for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the syntax if in place of a qvd file, I have an sql table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select SQL *,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;from....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 11:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464687#M486728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464688#M486730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *,year(Date) as Year;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sql Select * from abc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just include the load statement as shown above.&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>Thu, 21 Mar 2013 11:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464688#M486730</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-21T11:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464689#M486731</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;I think you have not understand what I mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have just an sql select inplace of a LOAD from a qvd file, the syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(DATE_ARRIVEE_PRODUIT) as YEAR_ARRIVEE_PRODUIT&lt;/P&gt;&lt;P&gt;FROM `QV_DB`.`QV_TOU_FACTURATION`;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the right syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 12:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464689#M486731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464690#M486732</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;&amp;nbsp;&amp;nbsp; I am sorry i couldnt able to explain properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the code i have given in earlier post is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; That script doesnt take data from Qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let me show you the script and explain its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load *,year(Date) as Year;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sql Select * from abc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here QlikView will take the data from Database and then it will do the calculations to create calculated columns and then give output with both calculated columns and all other original columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As you see in script after load statement there is no from column, only ; is there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope this is clear. Try the code and let me know.&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>Thu, 21 Mar 2013 12:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464690#M486732</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-03-21T12:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help : load all the files and insert calculated columns</title>
      <link>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464691#M486733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great It Works&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 13:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-load-all-the-files-and-insert-calculated-columns/m-p/464691#M486733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-21T13:29:38Z</dc:date>
    </item>
  </channel>
</rss>

