<?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: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date). in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577640#M1106810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this worked well to a certain extent . .&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;But is there a way to hide the StatusFlag column ?&lt;/P&gt;&lt;P&gt;I know this logic works on this column, but is there a way to delete this column and have another work around for the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 05:40:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-18T05:40:14Z</dc:date>
    <item>
      <title>How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577634#M1106804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have explained the necessary details in the attachment. The output needs to be developed in Pivot table in the same format as in excel.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 14:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577634#M1106804</guid>
      <dc:creator />
      <dc:date>2014-03-14T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577635#M1106805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can go about this in two ways, either in the script or on the GUI:&lt;/P&gt;&lt;P&gt;- In the script, you have to sort your table first and then you can use the PEEK() or PREVIOUS() functions to set&lt;BR /&gt;&amp;nbsp;&amp;nbsp; some flag to tell you when the status is different (and certain fields are the same)&lt;/P&gt;&lt;P&gt;- On the GUI, you could (load a Line_ID with RowNo()) and then use set_analysis, but if you're not comparing to the&lt;BR /&gt;&amp;nbsp;&amp;nbsp; line immediately above, that's going to be a bit more tricky&lt;/P&gt;&lt;P&gt;=&amp;gt; I would suggest the flag in the script.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 14:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577635#M1106805</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-03-14T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577636#M1106806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like these&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 14:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577636#M1106806</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-14T14:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577637#M1106807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this. It works on my end. Here is the script tab:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BaseTable:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, ID, Value, Status1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date 1, 1, xx, Done&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2, 1, yy, Done&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date 1, 2, fef, Proposed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2, 2, dfdf, Done&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date 1, 3, fdf, Draft&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2, 4, csdc, Done&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;NewTable:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), 'BaseTable'), 1,0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BaseTable &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DROP BaseTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Now in your straight table, input the statement below as shown in the image. Just replace color with whatever color you need.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;argb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(50,0,0,255)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG __jive_id="55072" alt="test-comparison.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55072_test-comparison.png" style="width: 620px; height: 496px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577637#M1106807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577638#M1106808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in background color I used the expression&lt;/P&gt;&lt;P&gt;if( not concat(total &amp;lt;ID&amp;gt; Status)= Status &amp;amp; Status, rgb(220,230,241))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get&lt;/P&gt;&lt;P&gt;&lt;IMG alt="color.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55076_color.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 15:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577638#M1106808</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-14T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577639#M1106809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I believe that you have changed the bg color with ID as reference . .But my requirement doesn't work that way . .&lt;/P&gt;&lt;P&gt;Thanks for your efforts anyways ..&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 05:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577639#M1106809</guid>
      <dc:creator />
      <dc:date>2014-03-18T05:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577640#M1106810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this worked well to a certain extent . .&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;But is there a way to hide the StatusFlag column ?&lt;/P&gt;&lt;P&gt;I know this logic works on this column, but is there a way to delete this column and have another work around for the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 05:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577640#M1106810</guid>
      <dc:creator />
      <dc:date>2014-03-18T05:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577641#M1106811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this without using Status Flag. Use the below expression as Background color expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; Distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&amp;gt;1, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;argb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(50,0,0,255))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 06:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577641#M1106811</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-03-18T06:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577642#M1106812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not concat?&lt;/P&gt;&lt;P&gt;I am not sure how this works . .&lt;/P&gt;&lt;P&gt;I tried using 'no concat' instead of 'not concat' but i am still not able to get the desired result &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577642#M1106812</guid>
      <dc:creator />
      <dc:date>2014-03-18T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577643#M1106813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect !&lt;/P&gt;&lt;P&gt;Thank you so much ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 07:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577643#M1106813</guid>
      <dc:creator />
      <dc:date>2014-03-18T07:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare the data in row-wise manner between 2 dates for the same element id (Date1 - let say, current  date, Date2 - any history date).</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577644#M1106814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concat works in this way with your data&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rowtest.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55241_rowtest.png" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 07:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-the-data-in-row-wise-manner-between-2-dates-for/m-p/577644#M1106814</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-18T07:50:37Z</dc:date>
    </item>
  </channel>
</rss>

