<?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 pick function with aggr, possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915849#M981940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below equation is not working, not a clue why but can someone explain where im going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(3,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Classification&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'0','1','2','7'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1','2','3','5','8','9','11','12','13','14','15','16','25','27'} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Equipment_Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ive replaced pick with max and min so im confident the aggr function is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;tahksn all.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 16:03:22 GMT</pubDate>
    <dc:creator>samuel_brierley</dc:creator>
    <dc:date>2015-08-07T16:03:22Z</dc:date>
    <item>
      <title>pick function with aggr, possible?</title>
      <link>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915849#M981940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below equation is not working, not a clue why but can someone explain where im going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(3,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Classification&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'0','1','2','7'},&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'-1','2','3','5','8','9','11','12','13','14','15','16','25','27'} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Fault_Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Equipment_Id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ive replaced pick with max and min so im confident the aggr function is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;tahksn all.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 16:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915849#M981940</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-08-07T16:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: pick function with aggr, possible?</title>
      <link>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915850#M981941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be your expected result? I don't see a third argument in pick() function after your switch number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick( Number,&lt;/P&gt;&lt;P&gt;CaseNumberEquals1,&lt;/P&gt;&lt;P&gt;CaseNumberEquals2,&lt;/P&gt;&lt;P&gt;CaseNumberEquals3&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 16:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915850#M981941</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-07T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: pick function with aggr, possible?</title>
      <link>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915851#M981942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the intention was that the Aggr function would create the mini table and the pick function would pick the nth number in that table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 16:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915851#M981942</guid>
      <dc:creator>samuel_brierley</dc:creator>
      <dc:date>2015-08-07T16:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: pick function with aggr, possible?</title>
      <link>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915852#M981943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not like pick() works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( &lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt; color: #800000;"&gt;Fault_Classification&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt;"&gt; = {'0','1','2','7'},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt; color: #800000;"&gt;Fault_Code&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt;"&gt; = {'-1','2','3','5','8','9','11','12','13','14','15','16','25','27'} &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Fault_Classification&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; = {'0','1','2','7'},&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Fault_Code&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; = {'-1','2','3','5','8','9','11','12','13','14','15','16','25','27'} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Fault_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Equipment_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;, aggr(rowno() ,Equipment_Id), 3)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 16:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pick-function-with-aggr-possible/m-p/915852#M981943</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-07T16:22:45Z</dc:date>
    </item>
  </channel>
</rss>

