<?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: Class function by date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513121#M481095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be honest, I could not realize the usage of class() here. Could you share a sample app with dummy data set explaining the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 17:03:05 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-10-23T17:03:05Z</dc:date>
    <item>
      <title>Class function by date</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513120#M481094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Class function to show the count of client per representative, broken down by date. For example, I'm trying to show that in year 2009, 50 representatives had 3 clients, 24 representatives had 5 clients, and 17 reps had 6 clients. However, there are instances where a client will switch representatives over a year. Therefore, the class function isn't properly working when you drill down into the dates since it doesn't seem to take date into consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are Date and a calculated dimension of Aggr(Class(Count(distinct ClientNumber),1),[Representative Name]) and the expression is Count(distinct ClientNumber). Unfortunately I can't share data due to confidentiality, but is there any way of doing this better? Perhaps some sort of IF loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 16:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513120#M481094</guid>
      <dc:creator />
      <dc:date>2013-10-23T16:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Class function by date</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513121#M481095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be honest, I could not realize the usage of class() here. Could you share a sample app with dummy data set explaining the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513121#M481095</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-23T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Class function by date</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513122#M481096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to fix this by adding the Date to the Aggr calculation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So my calculated dimension is now &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Aggr(Class(Count(distinct ClientNumber),1),[Representative Name], [Date])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 15:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-by-date/m-p/513122#M481096</guid>
      <dc:creator />
      <dc:date>2013-10-24T15:40:29Z</dc:date>
    </item>
  </channel>
</rss>

