<?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 Aggregate Count by Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-Count-by-Date/m-p/68936#M11341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve a simple transformation of data to enhance visualization in a table. I can easily reproduce it in Excel but it is being really tough in QS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transformation is this one:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fig1.PNG" class="jive-image image-1" height="239" src="https://community.qlik.com/legacyfs/online/201795_fig1.PNG" style="height: 239.061px; width: 174px;" width="174" /&gt;&amp;nbsp; &lt;IMG alt="fig2.PNG" class="jive-image image-2" height="241" src="https://community.qlik.com/legacyfs/online/201796_fig2.PNG" style="height: 241px; width: 301.25px;" width="301" /&gt;&lt;/P&gt;&lt;P&gt;I just want to count the number of times each class appear per date, and compute the rate of occurrences per date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to accomplish this with a Table and a Pivot Table, but with any of them I success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case of the table, I am able to get the nominator and denominator by =Aggr(Count(Class), Date). But I can't compute the division as =Count(Date)/Aggr(Count(Class), Date) because I get 'INVALID DIMENSION'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case of the pivot table, I just receive the output for 1 class per Date, and QS is ignoring the rest of the classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fig3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/201809_fig3.PNG" style="height: 278px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the QS App in here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2018 11:10:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-08T11:10:33Z</dc:date>
    <item>
      <title>Aggregate Count by Date</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Count-by-Date/m-p/68936#M11341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve a simple transformation of data to enhance visualization in a table. I can easily reproduce it in Excel but it is being really tough in QS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transformation is this one:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fig1.PNG" class="jive-image image-1" height="239" src="https://community.qlik.com/legacyfs/online/201795_fig1.PNG" style="height: 239.061px; width: 174px;" width="174" /&gt;&amp;nbsp; &lt;IMG alt="fig2.PNG" class="jive-image image-2" height="241" src="https://community.qlik.com/legacyfs/online/201796_fig2.PNG" style="height: 241px; width: 301.25px;" width="301" /&gt;&lt;/P&gt;&lt;P&gt;I just want to count the number of times each class appear per date, and compute the rate of occurrences per date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to accomplish this with a Table and a Pivot Table, but with any of them I success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case of the table, I am able to get the nominator and denominator by =Aggr(Count(Class), Date). But I can't compute the division as =Count(Date)/Aggr(Count(Class), Date) because I get 'INVALID DIMENSION'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case of the pivot table, I just receive the output for 1 class per Date, and QS is ignoring the rest of the classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fig3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/201809_fig3.PNG" style="height: 278px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the QS App in here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 11:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Count-by-Date/m-p/68936#M11341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-08T11:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Count by Date</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-Count-by-Date/m-p/68937#M11342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203832_Capture.PNG" style="height: 143px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Class)/Aggr(&lt;SPAN style="color: #ff0000;"&gt;NODISTINCT&lt;/SPAN&gt; Count(Class), Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-Count-by-Date/m-p/68937#M11342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-29T16:34:37Z</dc:date>
    </item>
  </channel>
</rss>

