<?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: table compare old with new and replace values that meet a criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013808#M930297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please elaborate more with Sample data and needed output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 09:52:43 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-03-17T09:52:43Z</dc:date>
    <item>
      <title>table compare old with new and replace values that meet a criteria</title>
      <link>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013807#M930294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;firstly apologies for the lengthy title &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Top Area]:&lt;/P&gt;&lt;P&gt; load Area,&lt;/P&gt;&lt;P&gt;sum(Lane_1_Total) as Area_Total,&lt;/P&gt;&lt;P&gt;RecNo() as Record_Number&lt;/P&gt;&lt;P&gt;Resident [MIDAS+AQMA]&lt;/P&gt;&lt;P&gt;where Time &amp;gt;= now()-(1/24)&lt;/P&gt;&lt;P&gt;group by Area&lt;/P&gt;&lt;P&gt;order by Lane_1_Total;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok im not going to bottle feed you guys you can see what the above table does.&lt;/P&gt;&lt;P&gt;I am using it to set variables for the top 3 Areas.&lt;/P&gt;&lt;P&gt;now moving forward i want to create a table of Max and Mins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I store and drop this table every reload so each time i have the table of the past hour.&lt;/P&gt;&lt;P&gt;I want a new Table with the below structure that basically says for each area if the current total (as in just loaded by the above) is less than the archived min use that min if not keep the current archived Min. Opposite for Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Area Max Min]:&lt;/P&gt;&lt;P&gt;load Area&lt;/P&gt;&lt;P&gt;Area_Max&lt;/P&gt;&lt;P&gt;Area_Min&lt;/P&gt;&lt;P&gt;from ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013807#M930294</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: table compare old with new and replace values that meet a criteria</title>
      <link>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013808#M930297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please elaborate more with Sample data and needed output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013808#M930297</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-17T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: table compare old with new and replace values that meet a criteria</title>
      <link>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013809#M930299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to concatenate all your stored qvd 's onto your new resident table and then do a group by / order by / min() / max()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013809#M930299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-17T09:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: table compare old with new and replace values that meet a criteria</title>
      <link>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013810#M930301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached is my Top Area table loaded today (im developing with old data so i dont have the where Time &amp;gt; now()-60mins bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a new table that has a dimension for max and min.&lt;/P&gt;&lt;P&gt;so the first run the Area_Total will be both max and Min.&lt;/P&gt;&lt;P&gt;the second run however if the new area_Total is lower than the current stored min that replaces the min, same process but opposite for Max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hopefully that makes more sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 10:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-compare-old-with-new-and-replace-values-that-meet-a/m-p/1013810#M930301</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2016-03-17T10:01:04Z</dc:date>
    </item>
  </channel>
</rss>

