<?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 dimension with range overlap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435497#M162390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a better example of the issue as it contains another chart showing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 16:48:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-24T16:48:15Z</dc:date>
    <item>
      <title>Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435494#M162387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If (ACSEGVAL01 &amp;gt;= 11110 AND ACSEGVAL01 &amp;lt;= 35000,'TEST',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACSEGVAL01 &amp;gt;= 11110 AND ACSEGVAL01 &amp;lt;= 12999, 'assets'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the second if statement is not appearing in my chart as I don't have a line for 'assets'. What am I missing and/or don't see here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 15:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435494#M162387</guid>
      <dc:creator />
      <dc:date>2012-09-24T15:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435495#M162388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If ([ACSEGVAL01] &amp;gt;= 11110 AND ACSEGVAL01 &amp;lt;= 35000,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; If(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACSEGVAL01 &amp;lt;= 12999, 'assets','TEST'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 15:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435495#M162388</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-24T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435496#M162389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried modifying the dimension expression as suggested but I'm having issues still... I've attached a document as an example. I would think this should be possible to do in one chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 16:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435496#M162389</guid>
      <dc:creator />
      <dc:date>2012-09-24T16:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435497#M162390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a better example of the issue as it contains another chart showing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 16:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435497#M162390</guid>
      <dc:creator />
      <dc:date>2012-09-24T16:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435498#M162391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2nd If statement will only be applied for those items which return a false to the first If statement. Since the 2nd statement is a subset of the first statement (everything in it will have returned a TRUE to the first If), nothing will ever qualify as fitting into the 2nd one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 17:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435498#M162391</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-09-24T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435499#M162392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating another table in your script with the following:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field, Limit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEST, 35000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assets, 12999&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, on your table, use Field as one dimension, then the following calculated dimension:&lt;/P&gt;&lt;P&gt;if(ACSEGVAL01&amp;gt;=11110 and ACSEGVAL01&amp;lt;= Limit,1,null())&lt;/P&gt;&lt;P&gt;check supress when null, and hide the calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 17:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435499#M162392</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-09-24T17:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435500#M162393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you danielact! Works great...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried converting this into a pie chart but can't seem to hide the second dimension from appearing on the pie chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ACSEGVAL01&amp;gt;=11110 and ACSEGVAL01&amp;lt;= Limit,1,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas anyone? I've attached a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 19:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435500#M162393</guid>
      <dc:creator />
      <dc:date>2012-09-24T19:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with range overlap</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435501#M162394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A pie chart isn't the thing to use when you have ovelap. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it anyway, you'd have to take out the second dimension and use an if statement in the expression:&lt;/P&gt;&lt;P&gt;sum(if(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;ACSEGVAL01&amp;gt;=11110 and ACSEGVAL01&amp;lt;= Limit&lt;/SPAN&gt;,ACSEGVAL01,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 20:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-range-overlap/m-p/435501#M162394</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-09-24T20:06:16Z</dc:date>
    </item>
  </channel>
</rss>

