<?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 Calculate Expression Without Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-Without-Dimension/m-p/1594269#M595907</link>
    <description>&lt;P&gt;hi. in my work, i'll calculate the percentage of active, passive and lost customers. i'll explain these words:&lt;/P&gt;&lt;P&gt;if the customer's last transaction is in the last 3 months, this customer is active. if the customer has not a transaction in the last 3 months but has in previous 3 months, he is passive. if not both, i say he is lost.&lt;/P&gt;&lt;P&gt;now, i want to calculate 3 numbers: how many customers are active, passive and lost.&lt;/P&gt;&lt;P&gt;in a straight table, i used customer id as dimension, max(date) as expression1. as expression2, if expression1 is bigger than AddMonths(date(now()),-3), i mark it 1, else 0. like that, expression3 is, if expression1 is bigger than AddMonths(date(now()),-6), i mark it 1, else 0. and finally expression4, if expression1 is bigger than AddMonths(date(now()),-12) i mark it 1 else 0.&lt;/P&gt;&lt;P&gt;finally sum of the expression2, 3 and 4 are the goal numbers.&lt;/P&gt;&lt;P&gt;but i wonder, can i calculate the count of customers?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 16:12:25 GMT</pubDate>
    <dc:creator>doganogulturk</dc:creator>
    <dc:date>2019-06-20T16:12:25Z</dc:date>
    <item>
      <title>Calculate Expression Without Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-Without-Dimension/m-p/1594269#M595907</link>
      <description>&lt;P&gt;hi. in my work, i'll calculate the percentage of active, passive and lost customers. i'll explain these words:&lt;/P&gt;&lt;P&gt;if the customer's last transaction is in the last 3 months, this customer is active. if the customer has not a transaction in the last 3 months but has in previous 3 months, he is passive. if not both, i say he is lost.&lt;/P&gt;&lt;P&gt;now, i want to calculate 3 numbers: how many customers are active, passive and lost.&lt;/P&gt;&lt;P&gt;in a straight table, i used customer id as dimension, max(date) as expression1. as expression2, if expression1 is bigger than AddMonths(date(now()),-3), i mark it 1, else 0. like that, expression3 is, if expression1 is bigger than AddMonths(date(now()),-6), i mark it 1, else 0. and finally expression4, if expression1 is bigger than AddMonths(date(now()),-12) i mark it 1 else 0.&lt;/P&gt;&lt;P&gt;finally sum of the expression2, 3 and 4 are the goal numbers.&lt;/P&gt;&lt;P&gt;but i wonder, can i calculate the count of customers?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 16:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-Without-Dimension/m-p/1594269#M595907</guid>
      <dc:creator>doganogulturk</dc:creator>
      <dc:date>2019-06-20T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Expression Without Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Expression-Without-Dimension/m-p/1604723#M595908</link>
      <description>&lt;P&gt;If you can attache a sample app, that may help someone provide some further guidance on this one.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 15:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Expression-Without-Dimension/m-p/1604723#M595908</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-22T15:36:26Z</dc:date>
    </item>
  </channel>
</rss>

