<?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 QVD Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Problem/m-p/475947#M689202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Monthly i receive a Xls File with a lot of information abour costomers ,&amp;nbsp; so the goal is to set up a pivot table or reference table to add juste the new entries , to have a message like that : for example ( for octobre 4 customers&amp;nbsp; are be add , for septembre 5 cust are been added ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I use a concatenation of tables + qvd records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1st stage: I load my table reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2nd stage: a month later, I reload the second example I have 2 new customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3rd stage: a month later, I reload the table I get and I realize that I have 4 new customers , basically, he can not manage to save the last value, he&amp;nbsp; reload and show me all news entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Someone have a idea to solve my problem Thank U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-style: inherit;"&gt;Signalitique_reference:&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref Créé le]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM $(FilePath)\QV_Dev\Signalitique_reference.QVD (qvd);&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;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//Utile 1 fois pour iniatialiser le projet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//Signalitique_reference:&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @1 as [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @2 as [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @7 as [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// '$(ProcessTime)' as [ref Créé le]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//FROM [$(FilePath)\data\Signalitique PS\24 - SIGNALETIQUE GROUPE*.xls]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//(biff, no labels);&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//STORE Signalitique_reference INTO $(FilePath)\QV_Dev\Signalitique_reference.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;NOCONCATENATE&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @1 as [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @2 as [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @7 as [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; '$(ProcessTime)' as [ref Créé le]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM [$(FilePath)\data\Signalitique PS\24 - SIGNALETIQUE GROUPE*.xls] // pourquoi on refait ca alors qu'on a déja chargé les champs dans un siganlitique_ref.qvd&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;(biff, no labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;STORE RefSign INTO $(FilePath)\QV_Dev\RefSign.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;drop table RefSign ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LET vOldRecords = QvdNoOfRecords('$(FilePath)\QV_Dev\Signalitique_reference.QVD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;CONCATENATE (Signalitique_reference) LOAD Distinct&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM $(FilePath)\QV_Dev\RefSign.QVD (qvd)&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;WHERE NOT Exists([ref matricule]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LET vNewRecords = NoOfRows('Signalitique_reference') - $(vOldRecords);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;STORE &lt;SPAN style="font-style: inherit;"&gt;Signalitique_reference&lt;/SPAN&gt;INTO $(FilePath)\Dev\&lt;SPAN style="font-style: inherit;"&gt;Signalitique_reference&lt;/SPAN&gt;.QVD;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Nov 2013 10:29:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-04T10:29:18Z</dc:date>
    <item>
      <title>QVD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Problem/m-p/475947#M689202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Monthly i receive a Xls File with a lot of information abour costomers ,&amp;nbsp; so the goal is to set up a pivot table or reference table to add juste the new entries , to have a message like that : for example ( for octobre 4 customers&amp;nbsp; are be add , for septembre 5 cust are been added ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I use a concatenation of tables + qvd records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1st stage: I load my table reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2nd stage: a month later, I reload the second example I have 2 new customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3rd stage: a month later, I reload the table I get and I realize that I have 4 new customers , basically, he can not manage to save the last value, he&amp;nbsp; reload and show me all news entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Someone have a idea to solve my problem Thank U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;P style="font-style: inherit;"&gt;Signalitique_reference:&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; [ref Créé le]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM $(FilePath)\QV_Dev\Signalitique_reference.QVD (qvd);&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;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//Utile 1 fois pour iniatialiser le projet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//Signalitique_reference:&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @1 as [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @2 as [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// @7 as [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;// '$(ProcessTime)' as [ref Créé le]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//FROM [$(FilePath)\data\Signalitique PS\24 - SIGNALETIQUE GROUPE*.xls]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//(biff, no labels);&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;//STORE Signalitique_reference INTO $(FilePath)\QV_Dev\Signalitique_reference.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;NOCONCATENATE&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LOAD&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @1 as [ref matricule],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @2 as [ref id ss],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [ref nom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; @7 as [ref prenom],&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; '$(ProcessTime)' as [ref Créé le]&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM [$(FilePath)\data\Signalitique PS\24 - SIGNALETIQUE GROUPE*.xls] // pourquoi on refait ca alors qu'on a déja chargé les champs dans un siganlitique_ref.qvd&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;(biff, no labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;STORE RefSign INTO $(FilePath)\QV_Dev\RefSign.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;drop table RefSign ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LET vOldRecords = QvdNoOfRecords('$(FilePath)\QV_Dev\Signalitique_reference.QVD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;CONCATENATE (Signalitique_reference) LOAD Distinct&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;FROM $(FilePath)\QV_Dev\RefSign.QVD (qvd)&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;WHERE NOT Exists([ref matricule]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;LET vNewRecords = NoOfRows('Signalitique_reference') - $(vOldRecords);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit;"&gt;STORE &lt;SPAN style="font-style: inherit;"&gt;Signalitique_reference&lt;/SPAN&gt;INTO $(FilePath)\Dev\&lt;SPAN style="font-style: inherit;"&gt;Signalitique_reference&lt;/SPAN&gt;.QVD;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 10:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Problem/m-p/475947#M689202</guid>
      <dc:creator />
      <dc:date>2013-11-04T10:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Problem/m-p/475948#M689203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First load the old records, then load the new records and use &lt;EM&gt;not exists&lt;/EM&gt; to check if a customer is new and if it is fill a field with a date of it's first occurence. Perhaps something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; @1 as [ref matricule],&lt;/P&gt;&lt;P&gt;&amp;nbsp; @2 as [ref id ss],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @6 as [ref nom],&lt;/P&gt;&lt;P&gt;&amp;nbsp; @7 as [ref prenom],&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(ProcessTime)' as [ref Créé le]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if(not exists(@1,[ref matricule]), monthstart(today())) as MonthFirstOccurence&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM [$(FilePath)\data\Signalitique PS\24 - SIGNALETIQUE GROUPE*.xls]&lt;/P&gt;&lt;P&gt;(biff, no labels);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 11:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Problem/m-p/475948#M689203</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-11-04T11:04:57Z</dc:date>
    </item>
  </channel>
</rss>

