<?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: Only show one row in pivot table if dimension is null in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736561#M56321</link>
    <description>&lt;P&gt;Did you check if it is a NULL string?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Len(my_value)=0 Or Len(Trim(my_value))=0 Or my_value=''&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 18 Aug 2020 02:34:20 GMT</pubDate>
    <dc:creator>Saravanan_Desingh</dc:creator>
    <dc:date>2020-08-18T02:34:20Z</dc:date>
    <item>
      <title>Only show one row in pivot table if dimension is null</title>
      <link>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736556#M56318</link>
      <description>&lt;P&gt;I have a pivot table, showing the count of items where a dimension is null. I checked the "include null values" checkbox to show this.&lt;/P&gt;&lt;P&gt;In the screenshot below, you can see that I am getting the count, and since the dimension is null, a dash (-) is shown.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do I change the label to a value other than dash? I tried something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;If(IsNull(my_value), 'is_null', my_value)&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;This created a new row called "is_null", but it did not put the measure (count column) in that row. The count was still placed in the row with the dash.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#339966"&gt;&lt;FONT color="#000000"&gt;Since it is a pivot table with several fields, if the first field is null, all the subsequent fields are also null. I only want to show the first level as null, and turn off the ability to expand subsequent fields. Is it possible to do that?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-17_19-00-44.png" style="width: 807px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39158i2B592BAA151AC55D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-17_19-00-44.png" alt="2020-08-17_19-00-44.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice appreciated! Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 02:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736556#M56318</guid>
      <dc:creator>rlam1234</dc:creator>
      <dc:date>2020-08-18T02:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Only show one row in pivot table if dimension is null</title>
      <link>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736561#M56321</link>
      <description>&lt;P&gt;Did you check if it is a NULL string?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Len(my_value)=0 Or Len(Trim(my_value))=0 Or my_value=''&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 18 Aug 2020 02:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736561#M56321</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-08-18T02:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Only show one row in pivot table if dimension is null</title>
      <link>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736573#M56324</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp; Thank you for your reply. I was able to figure out the first part of my question.&lt;/P&gt;&lt;P&gt;I have an expression where if the dimension value is null, I put in "_Unknown", instead of showing the default dash character.&lt;BR /&gt;&lt;BR /&gt;My second question is this is a pivot table with several fields. Valid values are blurred out below in the screenshot, but it is working as I want. Users can expand using the + icon to see other values.&lt;/P&gt;&lt;P&gt;If the dimension is null, I only want to show "_Unknown" once. Is there a way to turn off the + icons so that users can't expand? Each time they expand, it will always show the same thing, so only need to show it once.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-08-17_20-40-10.png" style="width: 639px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39163i6FF0965A65C392E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-08-17_20-40-10.png" alt="2020-08-17_20-40-10.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 03:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Only-show-one-row-in-pivot-table-if-dimension-is-null/m-p/1736573#M56324</guid>
      <dc:creator>rlam1234</dc:creator>
      <dc:date>2020-08-18T03:53:06Z</dc:date>
    </item>
  </channel>
</rss>

