<?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 New to Clickview - Need to display backlog graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-to-Clickview-Need-to-display-backlog-graph/m-p/302523#M1199257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlickView and am trying to display a graph based on a backlog of work orders over time. I have an Oracle SQL statement that selects the data&amp;nbsp; but cannot get the same result from Qlickview.&amp;nbsp; I really dont grasp the concept of sets and expressions and how to use them properly. I can plot either Created or Completed on seperate graphs over a period of time, but cant figgure how to combine and end up with the proper result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I was trying to do. Any ideas/ suggestions? Is this possible in Qlickview? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Backlog.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/4377_Backlog.jpg" /&gt;&lt;IMG alt="Backlog 1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/4378_Backlog+1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the SQL to select data from Oracle. It displays the backlog for the past 12 months, from this I can generate the graphs above. (I'm not an expert in SQL, its slow but does work). Note I must read the whole data set to compute the opening backlog in the last 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &lt;/P&gt;&lt;P&gt;(SELECT "Period", &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Created" , "Completed",&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum("Backlog") OVER(order by "Period" RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)&amp;nbsp; AS "Backlog"&lt;BR /&gt;from &lt;BR /&gt;(&lt;/P&gt;&lt;P&gt;select "Period",&lt;BR /&gt;"Created" , "Completed",&lt;/P&gt;&lt;P&gt;"Created" - "Completed" as "Backlog" &lt;BR /&gt;from &lt;BR /&gt;(select &lt;BR /&gt;"Period",&lt;BR /&gt;"Created",&lt;BR /&gt;&amp;nbsp; (Select count(*) from work_orders where to_char("Actual Finish",'YY-MM') = "Period" and "Stat" in('Complete')) as "Completed" &lt;BR /&gt;from (&lt;BR /&gt;&amp;nbsp; select &lt;BR /&gt;to_char( "Created on",'YY-MM') As "Period",&lt;BR /&gt;sum(1) as "Created"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from work_orders &lt;BR /&gt;group by to_char( sap."Created on",'YY-MM')&lt;BR /&gt;order by&amp;nbsp;&amp;nbsp; to_char( sap."Created on",'YY-MM')&lt;BR /&gt;)&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;) where "Period" &amp;gt;= to_char(sysdate -366,'YY-MM') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2011 16:55:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-16T16:55:05Z</dc:date>
    <item>
      <title>New to Clickview - Need to display backlog graph</title>
      <link>https://community.qlik.com/t5/QlikView/New-to-Clickview-Need-to-display-backlog-graph/m-p/302523#M1199257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlickView and am trying to display a graph based on a backlog of work orders over time. I have an Oracle SQL statement that selects the data&amp;nbsp; but cannot get the same result from Qlickview.&amp;nbsp; I really dont grasp the concept of sets and expressions and how to use them properly. I can plot either Created or Completed on seperate graphs over a period of time, but cant figgure how to combine and end up with the proper result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I was trying to do. Any ideas/ suggestions? Is this possible in Qlickview? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Backlog.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/4377_Backlog.jpg" /&gt;&lt;IMG alt="Backlog 1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/4378_Backlog+1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the SQL to select data from Oracle. It displays the backlog for the past 12 months, from this I can generate the graphs above. (I'm not an expert in SQL, its slow but does work). Note I must read the whole data set to compute the opening backlog in the last 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from &lt;/P&gt;&lt;P&gt;(SELECT "Period", &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Created" , "Completed",&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum("Backlog") OVER(order by "Period" RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)&amp;nbsp; AS "Backlog"&lt;BR /&gt;from &lt;BR /&gt;(&lt;/P&gt;&lt;P&gt;select "Period",&lt;BR /&gt;"Created" , "Completed",&lt;/P&gt;&lt;P&gt;"Created" - "Completed" as "Backlog" &lt;BR /&gt;from &lt;BR /&gt;(select &lt;BR /&gt;"Period",&lt;BR /&gt;"Created",&lt;BR /&gt;&amp;nbsp; (Select count(*) from work_orders where to_char("Actual Finish",'YY-MM') = "Period" and "Stat" in('Complete')) as "Completed" &lt;BR /&gt;from (&lt;BR /&gt;&amp;nbsp; select &lt;BR /&gt;to_char( "Created on",'YY-MM') As "Period",&lt;BR /&gt;sum(1) as "Created"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from work_orders &lt;BR /&gt;group by to_char( sap."Created on",'YY-MM')&lt;BR /&gt;order by&amp;nbsp;&amp;nbsp; to_char( sap."Created on",'YY-MM')&lt;BR /&gt;)&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;) where "Period" &amp;gt;= to_char(sysdate -366,'YY-MM') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 16:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-to-Clickview-Need-to-display-backlog-graph/m-p/302523#M1199257</guid>
      <dc:creator />
      <dc:date>2011-05-16T16:55:05Z</dc:date>
    </item>
  </channel>
</rss>

