<?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: Expression wont work on highest geographical hierarchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796222#M1033974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, unfortunately I cant share the app, as it contains information regarding the company I work for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yes, I want to compare that same expression on store level, whilst using Area as dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 12:10:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-30T12:10:11Z</dc:date>
    <item>
      <title>Expression wont work on highest geographical hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796220#M1033972</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;/P&gt;&lt;P&gt;Im having trouble with the following expression:&amp;nbsp; = if ( [Value] &amp;lt; 5, 5, [Value] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;essentialy, this expression states that if the value is smaller than 5, make it 5, otherwise give the original value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression works fine on my lowest geographical level, which is Store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;each store falls within an Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, if I do the same calculation using Area as the dimension, the expression wont work, because the Area's values accumulates&amp;nbsp; to more than 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do validate the same expression on Area level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796220#M1033972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T11:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression wont work on highest geographical hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796221#M1033973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you still want to compare the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if ( [Value] &amp;lt; 5, 5, [Value] ) at &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Store level when using Area as dimension or you want to compare it with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;accumulated value at area level ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible share your sample qvw and expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796221#M1033973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression wont work on highest geographical hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796222#M1033974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, unfortunately I cant share the app, as it contains information regarding the company I work for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But yes, I want to compare that same expression on store level, whilst using Area as dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796222#M1033974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T12:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression wont work on highest geographical hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796223#M1033975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using aggr function may it will hep you ,,, in place of SUM you can also try Only() function&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr( sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Area &lt;/SPAN&gt;, Store)&amp;lt;5,5,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [Value] )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796223#M1033975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression wont work on highest geographical hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796224#M1033976</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;you probably need an Aggr expression, on the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(If(Value &amp;lt; 5, 5, Value), Store, Area, .... &lt;EM&gt;&amp;lt;other fields of hierarchy&amp;gt;&lt;/EM&gt;...))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - a more efficient way of calculating if(Value &amp;lt; 5, 5, Value) is RangeMin(Value, 5)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 12:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-wont-work-on-highest-geographical-hierarchy/m-p/796224#M1033976</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-01-30T12:26:05Z</dc:date>
    </item>
  </channel>
</rss>

