<?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 Tenure count in multiple months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tenure-count-in-multiple-months/m-p/276849#M103256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to show a chart representing Tenure and a count of customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main complexity is that if a customer has a tenure of 3 weeks, then they should be counted in T1, T2 and T3 so I cannot use an if statement as a calculate dimension (in a way I can see).&amp;nbsp; I have tried a couple of ways with no success.&amp;nbsp; I have a customer tenure_weeks and I have generated 1/0 flags for the weeks, so if you have a tenure of 3 weeks you get flagged in T1, T2 and T3.&amp;nbsp; However, translating this into a functioning table or chart has got me stumped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&amp;nbsp; Or has anyone dealt with a similar multiple count dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 10:23:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-13T10:23:04Z</dc:date>
    <item>
      <title>Tenure count in multiple months</title>
      <link>https://community.qlik.com/t5/QlikView/Tenure-count-in-multiple-months/m-p/276849#M103256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to show a chart representing Tenure and a count of customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main complexity is that if a customer has a tenure of 3 weeks, then they should be counted in T1, T2 and T3 so I cannot use an if statement as a calculate dimension (in a way I can see).&amp;nbsp; I have tried a couple of ways with no success.&amp;nbsp; I have a customer tenure_weeks and I have generated 1/0 flags for the weeks, so if you have a tenure of 3 weeks you get flagged in T1, T2 and T3.&amp;nbsp; However, translating this into a functioning table or chart has got me stumped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&amp;nbsp; Or has anyone dealt with a similar multiple count dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 10:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tenure-count-in-multiple-months/m-p/276849#M103256</guid>
      <dc:creator />
      <dc:date>2011-07-13T10:23:04Z</dc:date>
    </item>
    <item>
      <title>Tenure count in multiple months</title>
      <link>https://community.qlik.com/t5/QlikView/Tenure-count-in-multiple-months/m-p/276850#M103257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have just solved it, I've used an unlinked dimension that is simply 1 -&amp;gt; 36 and then my expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(distinct&amp;nbsp; if(tenure_weeks &amp;gt;= Tenure, ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is fine for my development but if I had a very large dataset this might be inefficient so I still welcome better ways of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 10:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tenure-count-in-multiple-months/m-p/276850#M103257</guid>
      <dc:creator />
      <dc:date>2011-07-13T10:27:13Z</dc:date>
    </item>
  </channel>
</rss>

