<?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: How-to applymap() a calculated expression to a desc. field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602024#M680112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same table? I don't think that's possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2014 07:05:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-22T07:05:33Z</dc:date>
    <item>
      <title>How-to applymap() a calculated expression to a desc. field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602022#M680110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Referring to the title above, would anyone know how I can go about doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The situation that I am facing is as such, &lt;STRONG&gt;1 dim --&amp;gt; UserID&lt;/STRONG&gt;, has a time-stamp associated with it (whenever the user uses the service, a time-stamp is generated). I am calculating an &lt;STRONG&gt;expression based on the &lt;EM&gt;MAX(DATE) - MIN(DATE) &lt;/EM&gt;&lt;/STRONG&gt;to find out the range of days he/she has been actively using the service. Once that &lt;STRONG&gt;expression has been computed, am going to compute another expression -- having an &lt;EM&gt;if(MAX(DATE) - MIN(DATE) &amp;lt;= 90, '1-3 Months', ...)&lt;/EM&gt; naming it &lt;EM&gt;[ActiveMths_GROUP]&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that is done, I would like to &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;GROUP&lt;/STRONG&gt;&lt;/SPAN&gt; the &lt;STRONG&gt;number of users based on the previously calculated expression --&amp;gt; &lt;STRONG&gt;&lt;EM&gt;[ActiveMths_GROUP]&lt;/EM&gt;&lt;/STRONG&gt;.&amp;nbsp; &lt;/STRONG&gt;I have been trying a few methods, even using &lt;STRONG&gt;applymap() in an expression&lt;/STRONG&gt;, but have failed terribly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!. Thanks in advance. Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 06:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602022#M680110</guid>
      <dc:creator />
      <dc:date>2014-04-22T06:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: How-to applymap() a calculated expression to a desc. field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602023#M680111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use [Active Months_Group] as a calculated dimension &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602023#M680111</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-04-22T07:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: How-to applymap() a calculated expression to a desc. field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602024#M680112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same table? I don't think that's possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602024#M680112</guid>
      <dc:creator />
      <dc:date>2014-04-22T07:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How-to applymap() a calculated expression to a desc. field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602025#M680113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi once try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following in calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(max(Date)-min(Date),USERID)&amp;lt;=90,'0-90',&lt;/P&gt;&lt;P&gt;if(aggr(max(Date)-min(Date),USERID)&amp;gt;90 and aggr(max(Date)-min(Date),USERID)&amp;lt;=180,'90-180'))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602025#M680113</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-04-22T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How-to applymap() a calculated expression to a desc. field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602026#M680114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks mate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 08:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-applymap-a-calculated-expression-to-a-desc-field/m-p/602026#M680114</guid>
      <dc:creator />
      <dc:date>2014-04-22T08:32:30Z</dc:date>
    </item>
  </channel>
</rss>

