<?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: Count and group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542773#M439562</link>
    <description>&lt;P&gt;Why don't you just create a chart with month as dimension and &amp;nbsp;4 expression like the below ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=1 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=2 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 = COUNT(distinct workorder) * ( COUNT(distinct workorder)&amp;gt;=3 and COUNT(distinct workorder)&amp;lt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;5 =&amp;nbsp; &amp;nbsp;COUNT(distinct workorder) * (&amp;nbsp;COUNT(distinct workorder)&amp;gt;=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here these 1,2,3,&amp;gt;5 are name of the expression&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 08:42:43 GMT</pubDate>
    <dc:creator>qliksus</dc:creator>
    <dc:date>2019-02-12T08:42:43Z</dc:date>
    <item>
      <title>Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540226#M439383</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have a pivot table where i count number of WO per incidents per week or month..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pivot.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5295i62D7EFBE0A20600C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pivot.PNG" alt="Pivot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What i want is to group WO per incidents as below.&lt;BR /&gt;E.g '10' WO occurs '1' time in 2019-Jan&lt;/P&gt;&lt;P&gt;'5' WO occurs 3 times in July and 1 time in October.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Count_Group.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5294i5E8A39BDE176C513/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Count_Group.PNG" alt="Count_Group.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next step would be present the number of occurrence in a bar graph as below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WO per Inc.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5300iF5CB69A0A8D4DB23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WO per Inc.PNG" alt="WO per Inc.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 12:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540226#M439383</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-02-06T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540764#M439414</link>
      <description>&lt;P&gt;For the chart create just 4 expression and get the view&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exp1 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=1 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exp2 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=2 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exp3 = COUNT(distinct workorder) * ( COUNT(distinct workorder)&amp;gt;=3 and COUNT(distinct workorder)&amp;lt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) *-1&lt;/P&gt;&lt;P&gt;Exp1 = Wx&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 10:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540764#M439414</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-02-07T10:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540836#M439428</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Exp1 = Wx' what does this mean?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried your expressions&amp;nbsp;but it doesn't&amp;nbsp;work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What i need is the sum of all '1' , sum of all '2' sum of all '3' etc. per month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Actually the values seen in the pivot but without the 'wor_ParentTicketID'&amp;nbsp;&lt;/SPAN&gt;dimension&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 11:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1540836#M439428</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-02-07T11:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1541078#M439439</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;A simpler explanation.&lt;/P&gt;&lt;P&gt;This pivot shows number of WO's per' Incident'.&lt;/P&gt;&lt;P&gt;In this example this specific 'Incident' has 4 WO's during August.&lt;/P&gt;&lt;P&gt;The calculation used is 'Count(WO)'&lt;/P&gt;&lt;P&gt;I want to see the same thing in a table or graph without using 'Incident' as a dimension&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WO count.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5455i1BE4DEF611D37CD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WO count.PNG" alt="WO count.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 15:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1541078#M439439</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-02-07T15:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542621#M439550</link>
      <description>&lt;P&gt;How do you want to show if there are more than one incident for that month ?? i.e if you have data like the below how do you want the view to be ??&lt;/P&gt;&lt;P&gt;Wordeoder1 - 4&lt;/P&gt;&lt;P&gt;Workorder2-5&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 04:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542621#M439550</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-02-12T04:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542759#M439559</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In my table in the beginning of this post shows how it is presented i a table in Excel.&lt;/P&gt;&lt;P&gt;The left row shows the number of workorders per incident per month.&lt;/P&gt;&lt;P&gt;In the graph in can be presented as 1, 2, 3-5 and &amp;gt;5 (as in the graph above)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 08:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542759#M439559</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-02-12T08:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542773#M439562</link>
      <description>&lt;P&gt;Why don't you just create a chart with month as dimension and &amp;nbsp;4 expression like the below ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=1 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 = COUNT(distinct workorder) * ( COUNT(distinct workorder)=2 ) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 = COUNT(distinct workorder) * ( COUNT(distinct workorder)&amp;gt;=3 and COUNT(distinct workorder)&amp;lt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;5 =&amp;nbsp; &amp;nbsp;COUNT(distinct workorder) * (&amp;nbsp;COUNT(distinct workorder)&amp;gt;=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) *-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here these 1,2,3,&amp;gt;5 are name of the expression&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 08:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542773#M439562</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-02-12T08:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Count and group</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542789#M439570</link>
      <description>Doesn't work.&lt;BR /&gt;I think that 'Incident' needs to be in the expression.&lt;BR /&gt;I have used this formula and it almost works but it shows values that are to high.&lt;BR /&gt;Sum(Aggr(( COUNT( (WO))=3 ) *-1,Incident))</description>
      <pubDate>Tue, 12 Feb 2019 08:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-group/m-p/1542789#M439570</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2019-02-12T08:56:41Z</dc:date>
    </item>
  </channel>
</rss>

