<?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 Hide Expression In Pivot Column Using Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-Expression-In-Pivot-Column-Using-Calculated-Dimension/m-p/1096465#M364244</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;I have a pivot table that uses a calculated dimension, used as a column, defined as:-&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;Pick(&lt;BR /&gt;(&lt;BR /&gt;IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]={'&amp;lt;=$(=vLeakageTablePYEnd) &amp;gt;=$(=vLeakageTablePYStart)'}&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,1,0)&lt;/P&gt;&lt;P&gt;+IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]=p([Transactions.Transaction Effective Month Year])&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,2,0)&lt;/P&gt;&lt;P&gt;+IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'*'}-{'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]=p([Transactions.Transaction Effective Month Year])&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,4,0)&lt;BR /&gt;) + 1,&lt;/P&gt;&lt;P&gt;'5. n/a',&lt;BR /&gt;'1. lost',&lt;BR /&gt;'4. new',&lt;BR /&gt;'2. renewed',&lt;BR /&gt;'5. n/a',&lt;BR /&gt;'3. moved',&lt;BR /&gt;'4. new',&lt;BR /&gt;'2. renewed')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I then have a couple of expressions and want to hide (or set as null() if unable to hide) when the dimension value is '4. new' the expression is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM({[Leakage]&amp;lt;[Transactions.Transaction Effective Month Year]=p({Leakage}[Transactions.Transaction Effective Month Year]), [Wholesaler Type (Wk)]={'Third Party Wholesaler'}&amp;gt;}[GWP excl IPT])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've tried various combinations of trying to put a conditional in the expression but to no avail!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks, Robert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 17:44:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-23T17:44:22Z</dc:date>
    <item>
      <title>Hide Expression In Pivot Column Using Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-Expression-In-Pivot-Column-Using-Calculated-Dimension/m-p/1096465#M364244</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;I have a pivot table that uses a calculated dimension, used as a column, defined as:-&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;Pick(&lt;BR /&gt;(&lt;BR /&gt;IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]={'&amp;lt;=$(=vLeakageTablePYEnd) &amp;gt;=$(=vLeakageTablePYStart)'}&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,1,0)&lt;/P&gt;&lt;P&gt;+IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]=p([Transactions.Transaction Effective Month Year])&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,2,0)&lt;/P&gt;&lt;P&gt;+IF(aggr(sum({[Leakage]&amp;lt;&lt;/P&gt;&lt;P&gt;[Wholesaler Type (Wk)]={'*'}-{'Third Party Wholesaler'}, [Transactions.Transaction Effective Month Year]=p([Transactions.Transaction Effective Month Year])&amp;gt;}[GWP excl IPT]), [Client Name]) &lt;/P&gt;&lt;P&gt;&amp;gt; 0,4,0)&lt;BR /&gt;) + 1,&lt;/P&gt;&lt;P&gt;'5. n/a',&lt;BR /&gt;'1. lost',&lt;BR /&gt;'4. new',&lt;BR /&gt;'2. renewed',&lt;BR /&gt;'5. n/a',&lt;BR /&gt;'3. moved',&lt;BR /&gt;'4. new',&lt;BR /&gt;'2. renewed')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I then have a couple of expressions and want to hide (or set as null() if unable to hide) when the dimension value is '4. new' the expression is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM({[Leakage]&amp;lt;[Transactions.Transaction Effective Month Year]=p({Leakage}[Transactions.Transaction Effective Month Year]), [Wholesaler Type (Wk)]={'Third Party Wholesaler'}&amp;gt;}[GWP excl IPT])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've tried various combinations of trying to put a conditional in the expression but to no avail!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks, Robert&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-Expression-In-Pivot-Column-Using-Calculated-Dimension/m-p/1096465#M364244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-23T17:44:22Z</dc:date>
    </item>
  </channel>
</rss>

