<?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 Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346588#M128244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Interesting it is calculating now but not giving me the 30 60 90 day buckets.&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://screencast.com/t/dkyObzLGH6"&gt;http://screencast.com/t/dkyObzLGH6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to do the buckets?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Mar 2012 15:29:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-10T15:29:25Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346587#M128243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field that has the number of days since a user registered.&amp;nbsp; I want to do a calculated dimension so at the top of my pivot table I can do 30, 60, 90.&amp;nbsp; From my reading it sounds like I can't use sum so I tried aggr but its not working.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is what I have &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://screencast.com/t/ibML2JTgzPU"&gt;http://screencast.com/t/ibML2JTgzPU&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 15:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346587#M128243</guid>
      <dc:creator />
      <dc:date>2012-03-10T15:07:41Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346588#M128244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Interesting it is calculating now but not giving me the 30 60 90 day buckets.&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://screencast.com/t/dkyObzLGH6"&gt;http://screencast.com/t/dkyObzLGH6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to do the buckets?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 15:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346588#M128244</guid>
      <dc:creator />
      <dc:date>2012-03-10T15:29:25Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346589#M128245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You used an incorrect syntax for AGGR (look it up in the manual), but this is not your probelm, You don't need any aggregation here. All you need is to divide all the data into 3-day buckets based on the number of days since registration. This is not an aggregation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I'd recommend:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(Number_of_days/30) * 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Divide the number of days by 30, then round up the result using ceil() and then multiply by 30 again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it this way, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 16:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346589#M128245</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2012-03-10T16:43:31Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346590#M128246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius.&amp;nbsp; That worked perfectly.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 17:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/346590#M128246</guid>
      <dc:creator />
      <dc:date>2012-03-10T17:06:31Z</dc:date>
    </item>
  </channel>
</rss>

