<?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: Sections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sections/m-p/350490#M129903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming the dimension for the expression mentioned above is dim1 then the "Section " column expression should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=30, 'Section 1',&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=600, 'Section 2',&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=900, 'Section 3','Section 4'&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 18:30:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-13T18:30:03Z</dc:date>
    <item>
      <title>Sections</title>
      <link>https://community.qlik.com/t5/QlikView/Sections/m-p/350489#M129902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have an expression with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(num(date(vDate) - (Table1))) this gave me as results = Different days like 897,875,521,21,65, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want are sections according to the range for example:&lt;/P&gt;&lt;P&gt; section 1 800 - 900;&lt;/P&gt;&lt;P&gt;section 2 10 - 30;&lt;/P&gt;&lt;P&gt;Section 3 400 - 600;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the new column should be appears &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section 1 897&lt;/P&gt;&lt;P&gt;Section 1 875&lt;/P&gt;&lt;P&gt;Section 3521&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum( &lt;/P&gt;&lt;P&gt;if(sum(num(date(vDate) - (Table1))) &amp;gt; '800' &amp;lt; 900,'AA'),&lt;/P&gt;&lt;P&gt;if(sum(num(date(vDate) - (Table1))) &amp;gt; '10' &amp;lt; '30', 'BB'),&lt;/P&gt;&lt;P&gt;if(sum(num(date(vDate) - (Table1))) &amp;gt; '400' &amp;lt; '600', 'CC')) etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried as dimenssion too but doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 18:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sections/m-p/350489#M129902</guid>
      <dc:creator>pgalvezt</dc:creator>
      <dc:date>2012-07-13T18:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sections</title>
      <link>https://community.qlik.com/t5/QlikView/Sections/m-p/350490#M129903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming the dimension for the expression mentioned above is dim1 then the "Section " column expression should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=30, 'Section 1',&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=600, 'Section 2',&lt;/P&gt;&lt;P&gt;if(aggr(sum(date(vDate)-Table1),dim1)&amp;lt;=900, 'Section 3','Section 4'&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 18:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sections/m-p/350490#M129903</guid>
      <dc:creator />
      <dc:date>2012-07-13T18:30:03Z</dc:date>
    </item>
  </channel>
</rss>

