<?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: Set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689169#M541041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send an example of your data model? It can be done, but it depends on how you link your calendar with the table. You can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;CreatedMonthYear=P(MonthYear), MonthYear=&amp;gt;} ticketID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case MonthYear is the field where you select the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 13:27:44 GMT</pubDate>
    <dc:creator>gmoraleswit</dc:creator>
    <dc:date>2014-07-18T13:27:44Z</dc:date>
    <item>
      <title>Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689163#M541035</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;Hope anyone is able to help me with this set analysis question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have a data record, consisting of:&lt;/P&gt;&lt;P&gt;Ticket ID&lt;/P&gt;&lt;P&gt;Creation date&lt;/P&gt;&lt;P&gt;Resolve date&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;- and want a bar chart to show year/mont, e.g. 2014/03, on x-axis and a stacked bar showing how many tickets created the specific month and how many that are resolved the same month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might have selected January ’13 to January ’14 in my dataset, but off course wants to look at tickets created before selection, but resolved in selection period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously it's the expression that kills me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to anyone that may help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Best&lt;BR /&gt;regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 13:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689163#M541035</guid>
      <dc:creator>clausbarlose</dc:creator>
      <dc:date>2014-07-16T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689164#M541036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit Script logic :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(Date) &amp;amp;'/'&amp;amp; num(month(Date)) as year/month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isNull(ResolveDate),NULL,NOTNULL) as RDateFlag&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Datasource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions used in charts :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension -- year/month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1 -- count(TicketID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2 -- count({&amp;lt;RDateFlag = {'NOTNULL'}&amp;gt;}TicketID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Regards,&lt;/P&gt;&lt;P&gt;Vishal Waghole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 05:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689164#M541036</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-07-17T05:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689165#M541037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal&lt;/P&gt;&lt;P&gt;I'll try it later today! Thank you very much!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 07:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689165#M541037</guid>
      <dc:creator>clausbarlose</dc:creator>
      <dc:date>2014-07-17T07:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689166#M541038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal&lt;/P&gt;&lt;P&gt;This doesn't seem to do the job...&lt;/P&gt;&lt;P&gt;Tickets doesn't necessarily get solved the same month they are created. Some might take several months to solve. E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ticket ID, Created, Resolved&lt;/P&gt;&lt;P&gt;100, 2013-05-05, 2014-07-10&lt;/P&gt;&lt;P&gt;101, 2013-05-.06, 2013-06-01&lt;/P&gt;&lt;P&gt;102, 2013-05-07, 2013-05-07&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 18:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689166#M541038</guid>
      <dc:creator>clausbarlose</dc:creator>
      <dc:date>2014-07-17T18:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689167#M541039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is one way to do it, it involves creating one record for the created date and one for the resolved date for each ticket, see attach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 19:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689167#M541039</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-07-17T19:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689168#M541040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriela&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, it does the job &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can't it be done through set analysis? From a dimension to count values alike on another field in the records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 21:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689168#M541040</guid>
      <dc:creator>clausbarlose</dc:creator>
      <dc:date>2014-07-17T21:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689169#M541041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send an example of your data model? It can be done, but it depends on how you link your calendar with the table. You can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;CreatedMonthYear=P(MonthYear), MonthYear=&amp;gt;} ticketID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case MonthYear is the field where you select the values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 13:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689169#M541041</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-07-18T13:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689170#M541042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Record is pretty small - it's a ticket database from a serviceprovider. No special need for calendar implementation as all violations and such is calculated in source system.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please look at the attached for inspiration. - I am very satisfied with the solution you provided for me, so please don't feel obligated to finding a set analyses solution but for the challenge of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goal is to find service providers ability to close tickets rather than users create them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;/Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 19:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-expression/m-p/689170#M541042</guid>
      <dc:creator>clausbarlose</dc:creator>
      <dc:date>2014-07-18T19:40:20Z</dc:date>
    </item>
  </channel>
</rss>

