<?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 Age bands in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440375#M164115</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;Age in group on x axis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could manage to calculate age and represent in chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X axis - age in 10, 11, 12... 25... etc. &lt;/P&gt;&lt;P&gt;Y axis - total coubt of patients. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a&amp;nbsp; variable &lt;/P&gt;&lt;P&gt;vAgeCal = date (interval(patient arrival date - date of birth), 'YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the x axis to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10-15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16-20&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-25 instead of 10, 11,12..., 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty new to qv. It would be great if anyone can help. &lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.v&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Dec 2012 13:27:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-16T13:27:11Z</dc:date>
    <item>
      <title>Age bands</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440375#M164115</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;Age in group on x axis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could manage to calculate age and represent in chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X axis - age in 10, 11, 12... 25... etc. &lt;/P&gt;&lt;P&gt;Y axis - total coubt of patients. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a&amp;nbsp; variable &lt;/P&gt;&lt;P&gt;vAgeCal = date (interval(patient arrival date - date of birth), 'YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the x axis to be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10-15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16-20&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-25 instead of 10, 11,12..., 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty new to qv. It would be great if anyone can help. &lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.v&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 13:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440375#M164115</guid>
      <dc:creator />
      <dc:date>2012-12-16T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Age bands</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440376#M164116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll be wanting to use the Class() function.&lt;/P&gt;&lt;P&gt;Class(Age,5,'x',10) should be what you're looking for in this specific case, I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 13:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440376#M164116</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2012-12-16T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Age bands</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440377#M164117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesnt work. Might be I am writing the expression wrong.&lt;/P&gt;&lt;P&gt;Class(vAgeCal, 10, '10-20, 20) is what gave as an expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct? It does reload though. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 14:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440377#M164117</guid>
      <dc:creator />
      <dc:date>2012-12-16T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Age bands</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440378#M164118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not look correct. The expression as I wrote it is what you should be using (replacing your age column with "Age"). I prefer to use it directly in a calculated dimension, rather than in the script (I think it works either way, though). If you want to understand exactly how Class() works, just look it up in the help file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 14:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440378#M164118</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2012-12-16T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Age bands</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440379#M164119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved it by using an if condition in the load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2012 23:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bands/m-p/440379#M164119</guid>
      <dc:creator />
      <dc:date>2012-12-16T23:29:21Z</dc:date>
    </item>
  </channel>
</rss>

