<?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 complete pivot, when one field is null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057288#M465282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Need to solve one Problem with useless Pivot-table-data.&lt;/P&gt;&lt;P&gt;I have a Pivot-table, which Shows all items, when there are items.&lt;/P&gt;&lt;P&gt;But I have docnums as well which have no items.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119161_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I wanted to hide the complete table, when no docnum is there to be shown.&lt;/P&gt;&lt;P&gt;I tried with a conditional Show, but this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[docnum]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0,1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/119171_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody can help me with that Topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 13:59:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-23T13:59:19Z</dc:date>
    <item>
      <title>hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057288#M465282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Need to solve one Problem with useless Pivot-table-data.&lt;/P&gt;&lt;P&gt;I have a Pivot-table, which Shows all items, when there are items.&lt;/P&gt;&lt;P&gt;But I have docnums as well which have no items.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119161_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I wanted to hide the complete table, when no docnum is there to be shown.&lt;/P&gt;&lt;P&gt;I tried with a conditional Show, but this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[docnum]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0,1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/119171_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody can help me with that Topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 13:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057288#M465282</guid>
      <dc:creator />
      <dc:date>2016-03-23T13:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057289#M465283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say one of your expression in this pivot table is Sum(Sales), you can try this as your layout condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Len(Trim(Sum(Sales))) &amp;gt; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057289#M465283</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T14:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057290#M465284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the table will be shown if the if() statement returns NULL, so you would need to explicitely return zero:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[docnum]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0,&lt;STRONG&gt;0,1)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[and it's a show conditional, 1 is show chart, 0 is hide chart]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057290#M465284</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-23T14:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057291#M465285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much. It works now.&lt;/P&gt;&lt;P&gt;But I have a "Little" other issue now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the table is hidden, when there is no docnum. &lt;STRONG&gt;Thats very good&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when I select nothing in qlikview the table is shown, because it "can have" lots of docnums&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When nothing is selected in qlikview the table should be hidden too.&lt;/P&gt;&lt;P&gt;Do you have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057291#M465285</guid>
      <dc:creator />
      <dc:date>2016-03-23T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057292#M465286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;What if you add another condition&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;STRONG&gt;(Count(distinct [docnum]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;) = 0 or Len(Trim(GetCurrentSelections())) = 0, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;0, 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057292#M465286</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T14:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057293#M465287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[docnum]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0,&lt;STRONG&gt;0,1)&lt;/STRONG&gt; &lt;/SPAN&gt; and not isnull(GetCurrentSelections())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 14:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057293#M465287</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-23T14:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: hide complete pivot, when one field is null</title>
      <link>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057294#M465288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everybody, it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-complete-pivot-when-one-field-is-null/m-p/1057294#M465288</guid>
      <dc:creator />
      <dc:date>2016-03-23T15:19:58Z</dc:date>
    </item>
  </channel>
</rss>

