<?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: Trace # of New Rows added to Table in Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651183#M677559</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;I had to put a If statement to show 0 row if none were added but it worked.&amp;nbsp; Thanks for the quick response.&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;Sales:&lt;BR /&gt;Load ID,*&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From QVD;&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;TRACE New Rows being loaded;&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;CONCATENATE (Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID,*&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Source&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE NOT EXIST ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vNumberofRows = IF(LEN(TRIM(NoOfRows('Sales')))=0,0,NoOfRows('Sales'));&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Trace $(vNumberofRows) rows added;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 15:06:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-10T15:06:57Z</dc:date>
    <item>
      <title>Trace # of New Rows added to Table in Load</title>
      <link>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651180#M677550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that loads only new records from a Source table into a QVD.&amp;nbsp; I want to be able to state the # of new rows that are being loaded in a Trace Statement.&amp;nbsp; See below for an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;BR /&gt;Load ID,*&lt;/P&gt;&lt;P&gt;From QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE New Rows being loaded;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Sales)&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load ID,*&lt;/P&gt;&lt;P&gt;From Source&lt;/P&gt;&lt;P&gt;WHERE NOT EXIST ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE "x" rows loaded into Sales;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 14:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651180#M677550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-10T14:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trace # of New Rows added to Table in Load</title>
      <link>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651181#M677552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function NoOfRows(NameOfTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the first load, you assign NoOfRows to a varable, trace the value and do the same after the second load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNumberOfRows = NoOfRows(Sales);&lt;/P&gt;&lt;P&gt;Trace $(vNumberOfRows);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 14:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651181#M677552</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-06-10T14:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trace # of New Rows added to Table in Load</title>
      <link>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651182#M677556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create a Variable like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vNoOfRows = NoOfRows('TableName');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trace $(vNoOfRows);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651182#M677556</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-06-10T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trace # of New Rows added to Table in Load</title>
      <link>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651183#M677559</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;I had to put a If statement to show 0 row if none were added but it worked.&amp;nbsp; Thanks for the quick response.&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;Sales:&lt;BR /&gt;Load ID,*&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From QVD;&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;TRACE New Rows being loaded;&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;CONCATENATE (Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sales:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID,*&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From Source&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WHERE NOT EXIST ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;LET vNumberofRows = IF(LEN(TRIM(NoOfRows('Sales')))=0,0,NoOfRows('Sales'));&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Trace $(vNumberofRows) rows added;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trace-of-New-Rows-added-to-Table-in-Load/m-p/651183#M677559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-10T15:06:57Z</dc:date>
    </item>
  </channel>
</rss>

