<?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 Case Selection based on a date interval in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187584#M51209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have a database of a change management system for an IT department. Each demand has an "Open_Date" and "Close_Date" fields. When a demand entered in to the system it does automatically have an "Open_date" value. When that demand solved by a technician this demand does automatically have "Close_Date" value. I want to show quantities of open and close cases by the selection of date. For example When I click Year and Month (i.e. november, 2009) I would like to see demand graphic between 1.11.2009 and 30.11.2009. How can I do that. Would you please offer a sample QV which has the same logic.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asim Akin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Dec 2009 15:09:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-15T15:09:56Z</dc:date>
    <item>
      <title>Case Selection based on a date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187584#M51209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have a database of a change management system for an IT department. Each demand has an "Open_Date" and "Close_Date" fields. When a demand entered in to the system it does automatically have an "Open_date" value. When that demand solved by a technician this demand does automatically have "Close_Date" value. I want to show quantities of open and close cases by the selection of date. For example When I click Year and Month (i.e. november, 2009) I would like to see demand graphic between 1.11.2009 and 30.11.2009. How can I do that. Would you please offer a sample QV which has the same logic.&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asim Akin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 15:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187584#M51209</guid>
      <dc:creator />
      <dc:date>2009-12-15T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Case Selection based on a date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187585#M51210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried expressions like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=COUNT(IF(LEN(Close_Date) = 0, Open_Date))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This one should deliver all the open cases.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 17:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187585#M51210</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-12-15T17:20:20Z</dc:date>
    </item>
    <item>
      <title>Case Selection based on a date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187586#M51211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for your answer. Acutally I need a master calendar which is independent from Open_Date and Close_Date fields. when I choose the year and month from that calendar I would like to see the quantities of open cases and solved cases.&lt;/P&gt;&lt;P&gt;In my current design there are two different calendar one is for open_date and the other one for close_date. Please check the file attached.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;/************************* ***************************/&lt;/P&gt;&lt;P&gt;I would like to ask another question. Are there any way to prompt "1257033600 and 1259539200" date interval instead of write to the below SQL statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/************************* ***************************/&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym,&lt;/P&gt;&lt;P&gt;k.Adet1,&lt;/P&gt;&lt;P&gt;p.Adet2,&lt;/P&gt;&lt;P&gt;r.Adet3&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat ,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym,&lt;/P&gt;&lt;P&gt;count(mdbadmin.chg.chg_ref_num) as Adet1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mdbadmin.chg&lt;/P&gt;&lt;P&gt;INNER JOIN mdbadmin.chgcat ON (mdbadmin.chg.category=mdbadmin.chgcat.code)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;mdbadmin.chg.open_date between 1257033600 and 1259539200&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym not like 'DEPO%'&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chg.group_id is not null&lt;/P&gt;&lt;P&gt;group by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;order by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;)k,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym,&lt;/P&gt;&lt;P&gt;count(mdbadmin.chg.chg_ref_num) as Adet2&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mdbadmin.chg&lt;/P&gt;&lt;P&gt;INNER JOIN mdbadmin.chgcat ON (mdbadmin.chg.category=mdbadmin.chgcat.code)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;mdbadmin.chg.close_date between 1257033600 and 1259539200&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym not like 'DEPO%'&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chg.group_id is not null&lt;/P&gt;&lt;P&gt;group by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;order by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;)p,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym,&lt;/P&gt;&lt;P&gt;count(mdbadmin.chg.chg_ref_num) as Adet3&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;mdbadmin.chg&lt;/P&gt;&lt;P&gt;INNER JOIN mdbadmin.chgcat ON (mdbadmin.chg.category=mdbadmin.chgcat.code)&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;mdbadmin.chg.active_flag=1&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym not like 'DEPO%'&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chg.group_id is not null&lt;/P&gt;&lt;P&gt;group by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;order by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;)r&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym = k.sym (+)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym = p.sym (+)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym = r.sym (+)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;mdbadmin.chgcat.sym not like 'DEPO%'&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;( k.sym is not null or p.sym is not null or r.sym is not null )&lt;/P&gt;&lt;P&gt;order by mdbadmin.chgcat.sym&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2009 17:48:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187586#M51211</guid>
      <dc:creator />
      <dc:date>2009-12-15T17:48:14Z</dc:date>
    </item>
    <item>
      <title>Case Selection based on a date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187587#M51212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asim&lt;/P&gt;&lt;P&gt;I am totally new to Qlikview and am trying to see if it will fit my purpose. I have the exact same problem you describe above regarding open and closed support cases.&lt;/P&gt;&lt;P&gt;I would like to generate a graph that have independant time (dates) on the horizontal axis and indicate the number of open cases over the chosen period, based on whether or not the case is still open after being created on a certain date.&lt;/P&gt;&lt;P&gt;Have you found a solution?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 00:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187587#M51212</guid>
      <dc:creator />
      <dc:date>2010-03-14T00:07:19Z</dc:date>
    </item>
    <item>
      <title>Case Selection based on a date interval</title>
      <link>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187588#M51213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple solution I found was to create a second table in Excel with a long list of dates up to deep into the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then linked that table's Date column with all the other date entries in my main table. If I plot a graph of created cases vs. dates, all dates with no entries also show up in my graph so I can easily identify quite periods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Main cases table&lt;/P&gt;&lt;P&gt;LOAD DayCreated,&lt;/P&gt;&lt;P&gt;DayMod,&lt;/P&gt;&lt;P&gt;DayClosed&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Cases.xlsx&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;//Dates table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Date as DayCreated,&lt;/P&gt;&lt;P&gt;Date as DayMod,&lt;/P&gt;&lt;P&gt;Date as DayClosed&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Dates.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 11:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-Selection-based-on-a-date-interval/m-p/187588#M51213</guid>
      <dc:creator />
      <dc:date>2010-04-08T11:22:18Z</dc:date>
    </item>
  </channel>
</rss>

