<?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 Filtering a dimension using AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279845#M104103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; assuming your dimension is incident&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(&lt;SPAN style="color: #0000ff;"&gt; IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;={'*61*','*62v*','*101*','*67*','*140*'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.counter_master&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;)&amp;gt;1,incident),incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 12:01:53 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2012-02-14T12:01:53Z</dc:date>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279840#M104098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp; straight table showing how many forms per incident have been completed. I would like to filter the results to show where there is more than 1 form per incident. So far I have this expression which shows how many forms for all incidents: - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;={'*61*','*62v*','*101*','*67*','*140*'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.counter_master&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I have another expression that shows if there was more than 1, regardless of the number of forms competed: -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;={'*61*','*62v*','*101*','*67*','*140*'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.counter_master&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;)&amp;gt;1,1,&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;()) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I have tried to put these into a single AGGR expression within the dimension but am not having much luck. The below expression returns '10' for every incident. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.formType&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 9pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; '*61*' &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; '*62v*' &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; '*101*'&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; '*67*'&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; '*140*',1)), &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.counter_master&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Would anyone be able to suggest what I should be doing? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 11:24:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279840#M104098</guid>
      <dc:creator />
      <dc:date>2012-02-14T11:24:38Z</dc:date>
    </item>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279841#M104099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try with this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon;"&gt;Master.formType&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: blue;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*61*' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*62v*' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*101*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*67*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*140*',1)),Master.counter_master,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 11:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279841#M104099</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-14T11:35:43Z</dc:date>
    </item>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279842#M104100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;&amp;nbsp;&amp;nbsp; =Sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon;"&gt;Master.formType&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: blue;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*61*' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*62v*' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*101*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*67*'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt; '*140*',1)),Master.counter_master, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 11:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279842#M104100</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-14T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279843#M104101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;SPAN style="color: black; font-size: 9pt;"&gt;Celambarasan, when&amp;nbsp; I try your formula I have either 0 or 10 as a result. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;Hi Jagan - when I try yours I receive error in calculation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;thank you both for taking a look. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 11:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279843#M104101</guid>
      <dc:creator />
      <dc:date>2012-02-14T11:56:21Z</dc:date>
    </item>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279844#M104102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you explain your requirement please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279844#M104102</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-14T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279845#M104103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; assuming your dimension is incident&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(&lt;SPAN style="color: #0000ff;"&gt; IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.formType&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;={'*61*','*62v*','*101*','*67*','*140*'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt;"&gt;Master.counter_master&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt;"&gt;)&amp;gt;1,incident),incident)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 12:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279845#M104103</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2012-02-14T12:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a dimension using AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279846#M104104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iiron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the formula, that's exactly what I needed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows the incident number only if there is more then 1 form for the incident so I can then select the suppress null values box in the dimension to show only those incidents with more then 1 PCR.&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>Tue, 14 Feb 2012 12:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-dimension-using-AGGR/m-p/279846#M104104</guid>
      <dc:creator />
      <dc:date>2012-02-14T12:18:48Z</dc:date>
    </item>
  </channel>
</rss>

