<?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: Ignoring Dimension selction for calculating formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379883#M420795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use to ignore something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;FieldName = {"=GetCurrentField('[Group Name]')"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 10:00:56 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-09-20T10:00:56Z</dc:date>
    <item>
      <title>Ignoring Dimension selction for calculating formula</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379882#M420794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pretty tricky question, and even trickier to explain it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Straight table with 3 Dimension. the last Dimension is a cycling group.&lt;/P&gt;&lt;P&gt;The Dimensions can be switch on and off.&lt;/P&gt;&lt;P&gt;I do have different Levels of calculation, triggered with a variable (vStrukturlevel).&lt;/P&gt;&lt;P&gt;Meaning, &lt;/P&gt;&lt;P&gt;- Level 0 and 1 and 2 --&amp;gt; sum(a) / sum(b) --&amp;gt; KPI total of a, ignoring the dimension --&amp;gt; vStrukturLevel set to 0&lt;/P&gt;&lt;P&gt;- Level 3, 4, 5, 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; sum(a) / sum(b) --&amp;gt; KPI total of the correct amount of a and b, because vStrukturLevel set to 3, 4, 5, 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cases:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;no Dimension activated--&amp;gt; Formula --&amp;gt; sum(a) / sum(b) = KPI --&amp;gt; Field result correct vStrukturlevel = 0&lt;/LI&gt;&lt;LI&gt;First Dimension activated --&amp;gt; Formula --&amp;gt;&amp;nbsp; sum(a) / sum(b) --&amp;gt; Field result correct vStrukturlevel = 0&lt;BR /&gt;Only({&amp;lt;PlanLevel={"$(=vStrukturLevel)"}&amp;gt;}KPI))&lt;/LI&gt;&lt;LI&gt;Second Dimension activated --&amp;gt; Formula --&amp;gt; sum(a) / sum(b) --&amp;gt; Field result correct, vStrukturLevel = 3, 4, 5 ,6 (Taking the sum of a and b depending on the Level in the cycling group).&lt;BR /&gt;((sum TOTAL &amp;lt;$(=vActiveDimension)&amp;gt;&amp;nbsp; a)&amp;nbsp; / sum({&amp;lt; TOTAL &amp;lt;$(=vActiveDimension)&amp;gt;&amp;nbsp; b)),&lt;/LI&gt;&lt;LI&gt;First and Second Dimension activated --&amp;gt; Formula --&amp;gt; sum(a) / sum(b) Field result correct, Field result correct, vStrukturLevel = 3, 4, 5 ,6 (Taking the sum of a and b depending on the Level in the cycling group).&lt;BR /&gt;((sum TOTAL &amp;lt;$(=vActiveDimension)&amp;gt;&amp;nbsp; a)&amp;nbsp; / sum({&amp;lt; TOTAL &amp;lt;$(=vActiveDimension)&amp;gt;&amp;nbsp; b)),&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Everything perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is now, if a selection is made of one of the value in the cycling group, the KPI should ignore the selection and taking the total sum of a and b the calculate the KPI. I do know, why the result is wrong, because I do select one of the value in the dimension.&lt;/P&gt;&lt;P&gt;So therefore, I want to ignore the selection for my calculation. I did achieved it in set Analysis ignoring the possible selection, but then it shows the other (not selected) values as Null, but this I want not to be showed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone a great idea to help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="margin: 0px; font-family: 'Times New Roman',serif; font-size: 12pt;"&gt;&lt;IMG alt="Straight table.png" class="jive-image image-1" src="/legacyfs/online/177152_Straight table.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 09:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379882#M420794</guid>
      <dc:creator />
      <dc:date>2017-09-20T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension selction for calculating formula</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379883#M420795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use to ignore something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;FieldName = {"=GetCurrentField('[Group Name]')"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 10:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379883#M420795</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T10:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension selction for calculating formula</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379884#M420796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;But, this is not the question or it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main question is, if I do select a value on the dimension, the calculation is correct and it displays the right line, but I just want to let disappear the line wich contents null or 0 value, I do know, why, because in one row, there is always a value, so I think I have to work with set analyses......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379884#M420796</guid>
      <dc:creator />
      <dc:date>2017-09-20T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Dimension selction for calculating formula</title>
      <link>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379885#M420797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whichever expressions are not turning 0 or null need to be forced to be 0...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Column(1) &amp;lt;&amp;gt; 0, Expression)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like Expression 3 and 4 might need this from the screenshot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignoring-Dimension-selction-for-calculating-formula/m-p/1379885#M420797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-20T15:09:29Z</dc:date>
    </item>
  </channel>
</rss>

