<?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: Trend of issues remaining unsolved in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trend-of-issues-remaining-unsolved/m-p/698213#M252097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a solution to this problem but it seems very inefficient. If anyone has a more efficient method or suggestions on how I can improve this so when the data grows it does not become unusable, I'd like to hear it. There are a few similar calculations I wish to implement but combined would make for a slow load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14116371790174169" jivemacro_uid="_14116371790174169"&gt;
&lt;P&gt;//Create temp table&lt;/P&gt;
&lt;P&gt;Tmp_joinWorkOrderUnresolved:&lt;/P&gt;
&lt;P&gt;LOAD * inline [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; join_Date]&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//for each day in calendar&lt;/P&gt;
&lt;P&gt;FOR DateJ = peek('join_Date',0,'Calendar') to peek('join_Date',-1,'Calendar')&lt;/P&gt;
&lt;P&gt;//join to temp table&lt;/P&gt;
&lt;P&gt;join&lt;/P&gt;
&lt;P&gt;Tmp_WorkOrder:&lt;/P&gt;
&lt;P&gt;//single row table with the date and count of all workorders that have a created date before the day and resolved day after the day.&lt;/P&gt;
&lt;P&gt;Load $(DateJ) as join_Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Distinct WORKORDERID) as COUNTWOUNRESOLVED&lt;/P&gt;
&lt;P&gt;resident WorkOrder&lt;/P&gt;
&lt;P&gt;Where CREATEDDATE&amp;lt;=$(DateJ) and RESOLVEDDATE&amp;gt;$(DateJ);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this then gives me a table with the count for each calendar date (the calendar is made of dates from the first created workorder to the latest) so creating a chart is simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 09:30:14 GMT</pubDate>
    <dc:creator>tcullinane</dc:creator>
    <dc:date>2014-09-25T09:30:14Z</dc:date>
    <item>
      <title>Trend of issues remaining unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-of-issues-remaining-unsolved/m-p/698212#M252096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a trend showing the total count of issues unsolved (so ticket count on y-axis and timeline on x-axis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data I have is the Created Date of the issue and the Resolved Date (if there is one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that for the Calendar/Timeline I am only able to show the number of issues unsolved that day that were created on the same day, not the accumulated total of currently unsolved (obviously issues can be solved).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-of-issues-remaining-unsolved/m-p/698212#M252096</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2014-09-15T16:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trend of issues remaining unsolved</title>
      <link>https://community.qlik.com/t5/QlikView/Trend-of-issues-remaining-unsolved/m-p/698213#M252097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a solution to this problem but it seems very inefficient. If anyone has a more efficient method or suggestions on how I can improve this so when the data grows it does not become unusable, I'd like to hear it. There are a few similar calculations I wish to implement but combined would make for a slow load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my code in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14116371790174169" jivemacro_uid="_14116371790174169"&gt;
&lt;P&gt;//Create temp table&lt;/P&gt;
&lt;P&gt;Tmp_joinWorkOrderUnresolved:&lt;/P&gt;
&lt;P&gt;LOAD * inline [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; join_Date]&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//for each day in calendar&lt;/P&gt;
&lt;P&gt;FOR DateJ = peek('join_Date',0,'Calendar') to peek('join_Date',-1,'Calendar')&lt;/P&gt;
&lt;P&gt;//join to temp table&lt;/P&gt;
&lt;P&gt;join&lt;/P&gt;
&lt;P&gt;Tmp_WorkOrder:&lt;/P&gt;
&lt;P&gt;//single row table with the date and count of all workorders that have a created date before the day and resolved day after the day.&lt;/P&gt;
&lt;P&gt;Load $(DateJ) as join_Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Distinct WORKORDERID) as COUNTWOUNRESOLVED&lt;/P&gt;
&lt;P&gt;resident WorkOrder&lt;/P&gt;
&lt;P&gt;Where CREATEDDATE&amp;lt;=$(DateJ) and RESOLVEDDATE&amp;gt;$(DateJ);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this then gives me a table with the count for each calendar date (the calendar is made of dates from the first created workorder to the latest) so creating a chart is simple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trend-of-issues-remaining-unsolved/m-p/698213#M252097</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2014-09-25T09:30:14Z</dc:date>
    </item>
  </channel>
</rss>

