<?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 not to include dimension in table when it equals a certain value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337169#M124327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would but I actually used it in my script load.&amp;nbsp; I could give you that instead: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(leafhdrtxt='AERO' and el1='2000',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='2000',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='2000',PeriodTotal,if(leafhdrtxt='NON CONT INTEREST' and el1='2000',PeriodTotal,if(leafhdrtxt='Administrative expense' and el1='2000',PeriodTotal,if(leafhdrtxt='EFD' and el1='1000',PeriodTotal,if(leafhdrtxt='ESD' and el1='4000',PeriodTotal,if(leafhdrtxt='ATD' and el1='4700',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='4700',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='4700',PeriodTotal,if(leafhdrtxt='ELIM' and el1='9900',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='9900',PeriodTotal,if(leafhdrtxt='Administrative expense' and el1='9000',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='9000',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='9000',PeriodTotal))))))))))))))) as t,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2012 20:13:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-07T20:13:42Z</dc:date>
    <item>
      <title>How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337164#M124322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Community,&amp;nbsp; I have a calculated dimesion that equals -1 and 0.&amp;nbsp; When its 0 I don't want it in my table and don't want it to contribute to the sum.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 14:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337164#M124322</guid>
      <dc:creator />
      <dc:date>2012-05-04T14:38:15Z</dc:date>
    </item>
    <item>
      <title>How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337165#M124323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach a sample .qvw so we can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 14:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337165#M124323</guid>
      <dc:creator />
      <dc:date>2012-05-04T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337166#M124324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use a set analysis, for example : &lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;MyDimension={'-1'}&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;This formula will only take in account Qty when MyDimension=-1&lt;/P&gt;&lt;P&gt;Of course MyDimension must be calculated in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else, if the dimension is calculated in the chart, instead of returning 0, you can use null() and then choose to supress null value with the checkbox below the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 15:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337166#M124324</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2012-05-04T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337167#M124325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, with the permission of Vincent and using his example, you could use the operator '-=' to get all values except the value or values you want to choose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=sum({$&amp;lt;MyDimension -= {0}&amp;gt;} Qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Although may be you are looking for an if statement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;If(CalculateDimension &amp;lt;&amp;gt;0, Dimension)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 18:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337167#M124325</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-04T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337168#M124326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you post the expression you used for calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 18:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337168#M124326</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-05-04T18:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How not to include dimension in table when it equals a certain value</title>
      <link>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337169#M124327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would but I actually used it in my script load.&amp;nbsp; I could give you that instead: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(leafhdrtxt='AERO' and el1='2000',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='2000',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='2000',PeriodTotal,if(leafhdrtxt='NON CONT INTEREST' and el1='2000',PeriodTotal,if(leafhdrtxt='Administrative expense' and el1='2000',PeriodTotal,if(leafhdrtxt='EFD' and el1='1000',PeriodTotal,if(leafhdrtxt='ESD' and el1='4000',PeriodTotal,if(leafhdrtxt='ATD' and el1='4700',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='4700',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='4700',PeriodTotal,if(leafhdrtxt='ELIM' and el1='9900',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='9900',PeriodTotal,if(leafhdrtxt='Administrative expense' and el1='9000',PeriodTotal,if(leafhdrtxt='INCOME TAXES' and el1='9000',PeriodTotal,if(leafhdrtxt='OTHER INCOME (EXPENSE)' and el1='9000',PeriodTotal))))))))))))))) as t,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 20:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-not-to-include-dimension-in-table-when-it-equals-a-certain/m-p/337169#M124327</guid>
      <dc:creator />
      <dc:date>2012-05-07T20:13:42Z</dc:date>
    </item>
  </channel>
</rss>

