<?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: Comapring old data and updated data and highlight the updates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742271#M1032596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime when you read data from Excel and store it in a QVD and follow below steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM Excel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'Old' AS DataType&lt;/P&gt;&lt;P&gt;FROM QVDName.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Temp INTO QVDName.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'New' AS DataType&lt;/P&gt;&lt;P&gt;RESIDENT Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the table you have old and new values, you can compare and know the value which is changed by using the flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose for Jan-2014 the sales is 1000 in old file, and if it changed to 2000 in new file then you can identify like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum({&amp;lt;DataType = {'Old'}&amp;gt;}Sales)&amp;nbsp; &amp;lt;&amp;gt; Sum({&amp;lt;DataType = {'New'}&amp;gt;}Sales), 'Changed', 'Not Changed')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you to proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 08:39:10 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-02-12T08:39:10Z</dc:date>
    <item>
      <title>Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742264#M1032589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to do something fancy and got stuck.&lt;/P&gt;&lt;P&gt;I am pulling data from few excel sheets and those sheets get updated from users on daily basis. They may add data or may update the old data or may delete data. So I used to consolidate all the data together into one sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way by which I can detect the updates which was done by the user today from the data loaded at the time of previous load?&lt;/P&gt;&lt;P&gt;Any help on this will be really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Jyothish KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 10:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742264#M1032589</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-02-04T10:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742265#M1032590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use a timestamp for that. This is basically DBMS practice, not sure if Excel can achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with QlikView Help after getting your timestamp. There is a detailed explanation there. Not sure with Sense Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Serhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 14:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742265#M1032590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-09T14:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742266#M1032591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Serhan, let me try this. Getting a timestamp is the issue right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 03:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742266#M1032591</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-02-11T03:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742267#M1032592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is maybe a little help but(and you maybe aware) that you can check updates if your Excel workbook it is a shared one going to.&lt;/P&gt;&lt;P&gt;Review-Changes-Track Changes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 04:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742267#M1032592</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-11T04:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742268#M1032593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;This may be small help but you can go something like load data from excel where date = today().&lt;/P&gt;&lt;P&gt;My main concern is we can use today() function to fetch the records which where inserted or updated today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 04:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742268#M1032593</guid>
      <dc:creator>neha_sri</dc:creator>
      <dc:date>2015-02-11T04:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742269#M1032594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion Robert, track changes is not what I am looking for. I am trying to implement something in QV. I guess I have to manipulate the script every time when I load &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742269#M1032594</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-02-12T08:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742270#M1032595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion, I guess using today will pull only the recent data but I want to compare the entire data each time when I load with the entire data with its value which was present on the previous load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742270#M1032595</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2015-02-12T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comapring old data and updated data and highlight the updates</title>
      <link>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742271#M1032596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime when you read data from Excel and store it in a QVD and follow below steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM Excel;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'Old' AS DataType&lt;/P&gt;&lt;P&gt;FROM QVDName.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Temp INTO QVDName.QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'New' AS DataType&lt;/P&gt;&lt;P&gt;RESIDENT Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the table you have old and new values, you can compare and know the value which is changed by using the flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose for Jan-2014 the sales is 1000 in old file, and if it changed to 2000 in new file then you can identify like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum({&amp;lt;DataType = {'Old'}&amp;gt;}Sales)&amp;nbsp; &amp;lt;&amp;gt; Sum({&amp;lt;DataType = {'New'}&amp;gt;}Sales), 'Changed', 'Not Changed')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you to proceed further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapring-old-data-and-updated-data-and-highlight-the-updates/m-p/742271#M1032596</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-12T08:39:10Z</dc:date>
    </item>
  </channel>
</rss>

