<?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: Calculated Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018270#M928013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you share model data set so that the requirement is more clear.&lt;/P&gt;&lt;P&gt;Reshma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2016 07:16:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-18T07:16:39Z</dc:date>
    <item>
      <title>Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018265#M928008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart wich has a dimesions 'Product' and expression as Count(distinct ID) and label for this expression is "Counts"&lt;/P&gt;&lt;P&gt;I have to add a calculated Dimension to and show three buckets HIgh, Modareat and low , depending on the count .&lt;/P&gt;&lt;P&gt; for which iam trying to do the below add calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Under Add Calculated Dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=if(count(distinct ID )&amp;gt;=$(vPercentage) and if(count(distinct ID &amp;lt;=$(vPercentageThirty),'High'),&lt;/P&gt;&lt;P&gt;if(count(distinct ID )&amp;gt;=$(vPercentageThirty) and if(count(distinct ID &amp;lt;=$(vPercentageFourthy),'Moderate','LOW')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not working .&lt;/P&gt;&lt;P&gt;Can someone suggest me what expression do i need to add ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018265#M928008</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018266#M928009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try ValueList() - synthetic dimension for this instead of using Calculated dimension.&amp;nbsp; Check this links below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9013"&gt;Missing Manual - ValueLoop() &amp;amp;amp; ValueList()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4693"&gt;Use Case for ValueList Chart Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 06:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018266#M928009</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-18T06:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018267#M928010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(AGGR( count(distinct ID ), Product)&amp;gt;=$(vPercentage) and if(AGGR( count(distinct ID) ,Product)&amp;lt;=$(vPercentageThirty),'High'),&lt;/P&gt;&lt;P&gt;if( AGGR(count(distinct ID ),Product)&amp;gt;=$(vPercentageThirty) and if(AGGR( count(distinct ID ),Product)&amp;lt;=$(vPercentageFourthy),'Moderate','LOW')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 06:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018267#M928010</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-18T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018268#M928011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;aggr&lt;/STRONG&gt;(if(count(distinct ID )&amp;gt;='$(vPercentage)' and count(distinct ID) &amp;lt;='$(vPercentageThirty)','High',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(count(distinct ID)&amp;gt;'$(vPercentageThirty)' and count(distinct ID) &amp;lt;='$(vPercentageFourthy)','Moderate','LOW')),&lt;STRONG&gt;Product&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 06:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018268#M928011</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-18T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018269#M928012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash it is giving Error &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 07:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018269#M928012</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2016-03-18T07:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018270#M928013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you share model data set so that the requirement is more clear.&lt;/P&gt;&lt;P&gt;Reshma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 07:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018270#M928013</guid>
      <dc:creator />
      <dc:date>2016-03-18T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018271#M928014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried my expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 07:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018271#M928014</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-18T07:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018272#M928015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Typo error from my end ..try the below expression ...&lt;/P&gt;&lt;P&gt;=if(&lt;/P&gt;&lt;P&gt;AGGR( count(distinct ID ), Product)&amp;gt;=$(vPercentage) and AGGR( count(distinct ID) ,Product)&amp;lt;=$(vPercentageThirty),'High',&lt;/P&gt;&lt;P&gt;if( AGGR(count(distinct ID ),Product)&amp;gt;=$(vPercentageThirty) and AGGR( count(distinct ID ),Product)&amp;lt;=$(vPercentageFourthy),'Moderate','LOW'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 08:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018272#M928015</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-18T08:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018273#M928016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need an Aggr() expression, but I was not clear on the relationship between the levels and the two variables as your expression had syntax errors. Assuming the variables are values, then you don't need the expansions either. So if Low means the lowest count values, then perhaps you mean:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(count(distinct ID) &amp;lt; &lt;SPAN style="font-size: 13.3333px;"&gt;vPercentageThirty&lt;/SPAN&gt;, Low&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(count(distinct ID) &amp;lt; &lt;SPAN style="font-size: 13.3333px;"&gt;vPercentageFourthy&lt;/SPAN&gt;, 'Moderate',&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'High'&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 08:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018273#M928016</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-18T08:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018274#M928017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are missing ')' in your expression [in the second part after 'and' count distinct ID...]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(count(distinct ID )&amp;gt;=$(vPercentage) and if(count(distinct ID &amp;lt;=$(vPercentageThirty),'High'),&lt;/P&gt;&lt;P&gt;if(count(distinct ID )&amp;gt;=$(vPercentageThirty) and if(count(distinct ID &amp;lt;=$(vPercentageFourthy),'Moderate','LOW')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 09:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimensions/m-p/1018274#M928017</guid>
      <dc:creator />
      <dc:date>2016-03-18T09:26:44Z</dc:date>
    </item>
  </channel>
</rss>

