<?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 [ASK] Latest transaction quantity in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097105#M364386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView Developer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report that have to show current transaction and latest transaction before current date, as below sample i made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="27"&gt;Qty&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="68"&gt;&lt;EM&gt;DateY&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="39"&gt;&lt;EM&gt;QtyY&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/4/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/3/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;0&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/5/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;32&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/4/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/6/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/5/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/7/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/6/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/8/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/7/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/9/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/8/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/10/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/9/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/11/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/10/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;23&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/12/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;29&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/11/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;23&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, and Qty column are coluns from transaction table.&lt;/P&gt;&lt;P&gt;And the users request to add yesterday quantity, if yesterday quantity is null then get the latest transaction quantity.&lt;/P&gt;&lt;P&gt;Sample above i created manually from excel to show what my users requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2016 06:56:36 GMT</pubDate>
    <dc:creator>rendiyan</dc:creator>
    <dc:date>2016-01-29T06:56:36Z</dc:date>
    <item>
      <title>[ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097105#M364386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView Developer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report that have to show current transaction and latest transaction before current date, as below sample i made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="27"&gt;Qty&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="68"&gt;&lt;EM&gt;DateY&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="39"&gt;&lt;EM&gt;QtyY&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/4/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/3/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;0&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/5/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;32&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/4/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/6/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/5/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/7/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/6/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/8/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;25&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/7/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;32&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/9/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/8/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/10/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/9/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;25&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/11/2010&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/10/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;23&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;4/12/2010&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;29&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;4/11/2010&lt;/EM&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;&lt;EM&gt;23&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, and Qty column are coluns from transaction table.&lt;/P&gt;&lt;P&gt;And the users request to add yesterday quantity, if yesterday quantity is null then get the latest transaction quantity.&lt;/P&gt;&lt;P&gt;Sample above i created manually from excel to show what my users requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097105#M364386</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-01-29T06:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097106#M364387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For latest Transaction try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;Date={'=$(=Date(max(Date),'DateFormat'))'}&amp;gt;} Qty)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Previous Latest, like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=sum({&amp;lt;Date={'=$(=Date(max(Date)-1,'DateFormat'))'}&amp;gt;} Qty)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Format of Date &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;DateFormat should be same&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For You Null handling, may be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(&lt;STRONG style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date={'=$(=Date(max(Date),'DateFormat'))'}&amp;gt;} Qty)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date={'=$(=Date(max(Date)-1,'DateFormat'))'}&amp;gt;} Qty),&amp;nbsp;&amp;nbsp;&amp;nbsp; //Condition True&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date={'=$(=Date(max(Date),'DateFormat'))'}&amp;gt;} Qty))&amp;nbsp;&amp;nbsp; //For False&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 12:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097106#M364387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-29T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097107#M364388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to do this in Script or front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 13:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097107#M364388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-29T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097108#M364389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Date,Qty,Date&lt;/P&gt;&lt;P&gt;4/4/2010,25,4/3/2010&lt;/P&gt;&lt;P&gt;4/5/2010,32,4/4/2010&lt;/P&gt;&lt;P&gt;4/6/2010,,4/5/2010&lt;/P&gt;&lt;P&gt;4/7/2010,,4/6/2010&lt;/P&gt;&lt;P&gt;4/8/2010,25,4/7/2010&lt;/P&gt;&lt;P&gt;4/9/2010,,4/8/2010&lt;/P&gt;&lt;P&gt;4/10/2010,23,4/9/2010&lt;/P&gt;&lt;P&gt;4/11/2010,,4/10/2010&lt;/P&gt;&lt;P&gt;4/12/2010,29,4/11/2010&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(len(trim(Qty))=0,peek(QtyY),Qty) as QtyY&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 13:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097108#M364389</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-01-29T13:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097109#M364390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Slight alteration to the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date,Qty,&lt;SPAN style="color: #ff0000;"&gt;DateY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/4/2010,25,4/3/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/5/2010,32,4/4/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/6/2010,,4/5/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/7/2010,,4/6/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/8/2010,25,4/7/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/9/2010,,4/8/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/10/2010,23,4/9/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/11/2010,,4/10/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4/12/2010,29,4/11/2010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Alt(&lt;/SPAN&gt;If(Len(Trim(&lt;SPAN style="color: #ff0000;"&gt;Peek('&lt;/SPAN&gt;Qty&lt;SPAN style="color: #ff0000;"&gt;')&lt;/SPAN&gt;))=0, Peek('QtyY'), &lt;SPAN style="color: #ff0000;"&gt;Peek('Qty')&lt;/SPAN&gt;)&lt;SPAN style="color: #ff0000;"&gt;, 0)&lt;/SPAN&gt; as QtyY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;resident Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Date;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="112991" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112991_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 13:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097109#M364390</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-29T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Latest transaction quantity</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097110#M364391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code works perfectly, as per the requirement..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 15:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Latest-transaction-quantity/m-p/1097110#M364391</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-01-29T15:42:38Z</dc:date>
    </item>
  </channel>
</rss>

