<?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 How to save historic data? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466388#M174301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikView-community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m importing daily data from Salesforce regarding tickets (questions from customers) that have been open and closed every day.In the raw data from Salesforce there exists two timestamps, one for&amp;nbsp; each new ticket (timestamp_created) and one for each closed ticket&amp;nbsp; (timestamp_closed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUESTION: I would like to compare the number of open tickets that I had yesterday with the number of open tickets I had the day before. I calculate the number of open tickets adding all tickets that have been created since today minus those that have been closed. Is there a way to calculate the number of open tickets that we have at the end of each day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the qlikview app I am using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 07:20:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-18T07:20:04Z</dc:date>
    <item>
      <title>How to save historic data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466388#M174301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikView-community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m importing daily data from Salesforce regarding tickets (questions from customers) that have been open and closed every day.In the raw data from Salesforce there exists two timestamps, one for&amp;nbsp; each new ticket (timestamp_created) and one for each closed ticket&amp;nbsp; (timestamp_closed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUESTION: I would like to compare the number of open tickets that I had yesterday with the number of open tickets I had the day before. I calculate the number of open tickets adding all tickets that have been created since today minus those that have been closed. Is there a way to calculate the number of open tickets that we have at the end of each day?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the qlikview app I am using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 07:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466388#M174301</guid>
      <dc:creator />
      <dc:date>2013-04-18T07:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to save historic data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466389#M174302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create an auxiliary table with different dates 'CreatedDate' format 'DD / MM / YYYY' and use as dimension. Then you format the 'ClosedDate' and 'CreatedDate' also as 'DD / MM / YYYY' and write the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466389#M174302</guid>
      <dc:creator />
      <dc:date>2013-04-18T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to save historic data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466390#M174303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest way to get open ticket count is to write an expression in your script using following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Closeddate column and do a count on cases with Closeddate is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use status column and do a count on csease with Status = 'Open'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 15:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466390#M174303</guid>
      <dc:creator>shilpan</dc:creator>
      <dc:date>2013-04-18T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to save historic data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466391#M174304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue is not how to calculate the number of open tickets but to save those numbers for each day. Otherwise when I reload the query I overwrite the counts with the current status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: I would like to compare the number of open tickets we had yesterday with the number of open tickets we have today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 12:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466391#M174304</guid>
      <dc:creator />
      <dc:date>2013-04-25T12:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to save historic data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466392#M174305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebeca, thanks for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue is not how to calculate the number of open tickets but to save those numbers for each day. Otherwise when I reload the query I overwrite the counts with the current status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words: I would like to compare the number of open tickets we had yesterday with the number of open tickets we have today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 12:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-save-historic-data/m-p/466392#M174305</guid>
      <dc:creator />
      <dc:date>2013-04-25T12:52:36Z</dc:date>
    </item>
  </channel>
</rss>

