<?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 Set Analysis over function result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258743#M97705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that does it. I just have one question more. If there are status other than closed that I don't want to count, how can I add that to this expression. I usually use =-{'closed', 'arquived'}, but with &amp;lt;&amp;gt; I don't know how to use multiple values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jan 2012 13:55:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-08T13:55:41Z</dc:date>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258738#M97700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following scenario in qlikview, in which I need some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are requests identified with a unique id. Each ticket is connected to several actions and each action is connected to a team and a status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count the number of requests whose latest action doesn't have a closed status. Any idea how I can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to get the latest action using max() but I need to restrict those actions to unclosed ones using set analysis outside max, and I don't have any idea how...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 23:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258738#M97700</guid>
      <dc:creator />
      <dc:date>2012-01-07T23:08:09Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258739#M97701</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; i think you can use set analysis, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(({$&amp;lt;&lt;STRONG&gt;Action fields&lt;/STRONG&gt; ={"$(#=max(&lt;STRONG&gt;Action fields&lt;/STRONG&gt;))"},&lt;STRONG&gt;Status Fieleds&lt;/STRONG&gt; &amp;lt;&amp;gt;{&lt;STRONG&gt;closed&lt;/STRONG&gt;}&amp;gt;} requests)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this set analysis will count the request and will fixe the max of action with status enclose &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 00:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258739#M97701</guid>
      <dc:creator />
      <dc:date>2012-01-08T00:07:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258740#M97702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;CODE&gt;Following belgacem.ejmal reply, &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;If it doesn't work &lt;/CODE&gt;&lt;CODE&gt;I would suggest to replace &amp;lt;&amp;gt; with -=&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instead of : Status Fieleds&lt;/STRONG&gt; &amp;lt;&amp;gt;{&lt;STRONG&gt;closed&lt;/STRONG&gt;}&lt;/P&gt;&lt;P&gt;Use this&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;STRONG&gt;Status Fieleds&lt;/STRONG&gt;&amp;nbsp; -= {&lt;STRONG&gt;closed&lt;/STRONG&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use this : &lt;/P&gt;&lt;P&gt;Status Fieleds = {"&amp;lt;&amp;gt;&lt;STRONG&gt;closed"&lt;/STRONG&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 09:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258740#M97702</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-01-08T09:40:16Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258741#M97703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the replies. I think that is the right way to go, but if I use max(&lt;STRONG&gt;Action fields) &lt;/STRONG&gt;I will only get the latest action for all requests, and I need the latest action for each request. Any idea on how to do that? I think maybe aggr can help with that but I don't know how to combine it with that expression...&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 13:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258741#M97703</guid>
      <dc:creator />
      <dc:date>2012-01-08T13:11:05Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258742#M97704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;RequestID = {"=FirstSortedValue(Status,-ActionID) &amp;lt;&amp;gt; 'CLOSED' "} &amp;gt;} distinct RequestID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 13:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258742#M97704</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-08T13:32:14Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258743#M97705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that does it. I just have one question more. If there are status other than closed that I don't want to count, how can I add that to this expression. I usually use =-{'closed', 'arquived'}, but with &amp;lt;&amp;gt; I don't know how to use multiple values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 13:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258743#M97705</guid>
      <dc:creator />
      <dc:date>2012-01-08T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258744#M97706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;RequestID = {"= not match(FirstSortedValue(Status,-ActionID),'closed','arquived') "} &amp;gt;} distinct RequestID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 14:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258744#M97706</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-08T14:09:05Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258745#M97707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, but that doesn't work. The result becomes zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 14:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258745#M97707</guid>
      <dc:creator />
      <dc:date>2012-01-08T14:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258746#M97708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the spelling of all field names etc. Above expression works at my place, please see attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 14:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258746#M97708</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-08T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Set Analysis over function result</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258747#M97709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah you're right. There was some error on my adaption.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think it works now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 14:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-over-function-result/m-p/258747#M97709</guid>
      <dc:creator />
      <dc:date>2012-01-08T14:46:05Z</dc:date>
    </item>
  </channel>
</rss>

