<?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 Storing historical data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613421#M734716</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have few fields which I display in my qvw file. Now I need to store these field values everyday and use it later to plot a trending graph.&lt;/P&gt;&lt;P&gt;For example: I have a variable $(vPass) and $(vFail). Everyday these values will be updated. I don't want to loose the previous days values and want to plot a trending graph based on no. of days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me how I can store the values and later use it to plot values.&lt;/P&gt;&lt;P&gt;I am using excel data as my input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sayadutt</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613421#M734716</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have few fields which I display in my qvw file. Now I need to store these field values everyday and use it later to plot a trending graph.&lt;/P&gt;&lt;P&gt;For example: I have a variable $(vPass) and $(vFail). Everyday these values will be updated. I don't want to loose the previous days values and want to plot a trending graph based on no. of days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me how I can store the values and later use it to plot values.&lt;/P&gt;&lt;P&gt;I am using excel data as my input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613421#M734716</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613499#M734717</link>
      <description>&lt;P&gt;Can't you create variables like&amp;nbsp;&lt;SPAN&gt;$(vPass_Constant) and $(vFail_Constant) and for dynamic like $(vPass) and $(vFail)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 14:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613499#M734717</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-08-17T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613508#M734718</link>
      <description>&lt;P&gt;After you have calculated the pass/fail values and populated vPass and vFail, append into a qvd file like&amp;nbsp; this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;History:
LOAD $(vPass) as Pass,
	$(vFail) as Fail,
	Now() as Timestamp
Autogenerate 1;

If Alt(QvdCreateTime('History.qvd'), 0) &amp;gt; 0 Then
	Concatenate(History)
	LOAD Pass, Fail, Timestamp
	FROM History.qvd (qvd);
	
End If

Store History into History.qvd (qvd);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 14:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613508#M734718</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-08-17T14:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613907#M734719</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Above script is giving me below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;BR /&gt;History:&lt;BR /&gt;LOAD as Pass,&lt;BR /&gt;as Fail,&lt;BR /&gt;Now() as Timestamp&lt;BR /&gt;Autogenerate 1&lt;BR /&gt;History:&lt;BR /&gt;LOAD as Pass,&lt;BR /&gt;as Fail,&lt;BR /&gt;Now() as Timestamp&lt;BR /&gt;Autogenerate 1&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1613907#M734719</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2019-08-19T14:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1614108#M734720</link>
      <description>&lt;P&gt;You need to populate the variables vPass and vFail before using this script fragment.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 05:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1614108#M734720</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-08-20T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Storing historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1614516#M734721</link>
      <description>&lt;P&gt;Hello Jontydkpi,&lt;/P&gt;&lt;P&gt;Can you please give me a sample example. I am very new to qlikview.&lt;/P&gt;&lt;P&gt;Sample Data I have:&lt;/P&gt;&lt;P&gt;Month,&amp;nbsp; Item,&amp;nbsp; Status&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan, A, In Progress&lt;/P&gt;&lt;P&gt;Jan, B, Completed&lt;/P&gt;&lt;P&gt;Jan, C, Completed&lt;/P&gt;&lt;P&gt;Feb, D, In Progress&lt;/P&gt;&lt;P&gt;Feb, E, Completed&lt;/P&gt;&lt;P&gt;Feb,&amp;nbsp; F, In Progress&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now, for Jan, Pass = 2 (sum of Completed ones), Fail = 1 (sum of In Progress)&lt;/P&gt;&lt;P&gt;For Feb, Pass = 1 (only 1 Completed), Fail = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$(vPass) =&amp;nbsp;Count({&amp;lt;QA Status = {'Completed'}&amp;gt;} Item)&lt;/P&gt;&lt;P&gt;$(vFail) =&amp;nbsp;Count({&amp;lt;QA Status = {'In Progress'}&amp;gt;} Item)&lt;/P&gt;&lt;P&gt;These 2 variables are set using Settings-&amp;gt;Variable Overview&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Requirement:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Need to create a qvd every night which will store&amp;nbsp; Month, $(vPass),&amp;nbsp;$(vFail), Item, Date&lt;/P&gt;&lt;P&gt;2) later use this qvd to create a trend graph (monthwise) .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you&amp;nbsp; please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 22:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-historical-data/m-p/1614516#M734721</guid>
      <dc:creator>sayadutt</dc:creator>
      <dc:date>2019-08-20T22:51:44Z</dc:date>
    </item>
  </channel>
</rss>

