<?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 Cumulative Field distorting data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210962#M65372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be wrong, but think I read that can only use Order By with a LOAD ... RESIDENT table. Using on a load from QVD or other source isn't allowed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 11:40:49 GMT</pubDate>
    <dc:creator>michael_anthony</dc:creator>
    <dc:date>2010-04-13T11:40:49Z</dc:date>
    <item>
      <title>Cumulative Field distorting data</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210959#M65369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 118pt; border-collapse: collapse;" width="157"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 70pt; mso-width-source: userset; mso-width-alt: 3401;" width="93" /&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="background-color: transparent; width: 70pt; height: 12.75pt; border: windowtext 0.5pt solid;" width="93"&gt;date&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; width: 48pt; border-top: windowtext 0.5pt solid; border-right: windowtext 0.5pt solid;" width="64"&gt;Tally&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40210"&gt;01/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40211"&gt;02/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40212"&gt;03/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40213"&gt;04/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40214"&gt;05/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;38&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40215"&gt;06/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;56&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40216"&gt;07/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;65&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40217"&gt;08/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;78&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40218"&gt;09/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;243&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40219"&gt;10/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;243&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40220"&gt;11/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;243&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40221"&gt;12/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;245&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext 0.5pt solid; background-color: transparent; height: 12.75pt; border-top: windowtext; border-right: windowtext 0.5pt solid;" num="40222"&gt;13/02/2010&lt;/TD&gt;&lt;TD class="xl24" style="border-bottom: windowtext 0.5pt solid; border-left: windowtext; background-color: transparent; border-top: windowtext; border-right: windowtext 0.5pt solid;"&gt;249&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I have a table with similar figures as above. The Tally is a cumulative count of the data eg for the 10/02/2010 there are no alerts. Using max(Tally) I have constructed a number of charts as this is the actual number of overall alerts.&lt;/P&gt;&lt;P&gt;However, we have a calendar option where people can choose their dates. If they pick 10th Feb, we would want the chart to have a 0 as no alerts occurred on this day. Currently it shows 243.&lt;/P&gt;&lt;P&gt;Is there a way possibly using the 'previous' function in which it would show the correct data for each individual day?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 13:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210959#M65369</guid>
      <dc:creator />
      <dc:date>2010-04-12T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Cumulative Field distorting data</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210960#M65370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can extract daily values with something like this&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt; Tally-num('0' &amp;amp; peek('Tally',-1)) as daily&lt;BR /&gt;INLINE [&lt;BR /&gt;date, Tally&lt;BR /&gt;01/02/2010, 1&lt;BR /&gt;02/02/2010, 2&lt;BR /&gt;03/02/2010, 3&lt;BR /&gt;04/02/2010, 5&lt;BR /&gt;05/02/2010, 38&lt;BR /&gt;06/02/2010, 56&lt;BR /&gt;07/02/2010, 65&lt;BR /&gt;08/02/2010, 78&lt;BR /&gt;09/02/2010, 243&lt;BR /&gt;10/02/2010, 243&lt;BR /&gt;11/02/2010, 243&lt;BR /&gt;12/02/2010, 245&lt;BR /&gt;13/02/2010, 249&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 15:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210960#M65370</guid>
      <dc:creator />
      <dc:date>2010-04-12T15:12:04Z</dc:date>
    </item>
    <item>
      <title>Cumulative Field distorting data</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210961#M65371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I think I am going to go down the road of creating another field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;previous(Tally) as PreviousTally&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;, I think this should work? However, one problem i am still having is that I have another field - SerialNumber. When I try to load from a QVD and put : &lt;EM&gt;order by SerialNumber&lt;/EM&gt; at the end, it causes a load failure. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any suggestions to why this may be the case?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210961#M65371</guid>
      <dc:creator />
      <dc:date>2010-04-13T11:12:28Z</dc:date>
    </item>
    <item>
      <title>Cumulative Field distorting data</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210962#M65372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be wrong, but think I read that can only use Order By with a LOAD ... RESIDENT table. Using on a load from QVD or other source isn't allowed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 11:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Field-distorting-data/m-p/210962#M65372</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2010-04-13T11:40:49Z</dc:date>
    </item>
  </channel>
</rss>

