<?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: Replace null values of a measure with a text (Pivot table) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064267#M87301</link>
    <description>&lt;P&gt;Maybe it doesn't work because you do not have this data in your model. This would be missing values and not null values.&lt;/P&gt;
&lt;P&gt;In order to correct that you will need to add all the missing combinaison of values in the model&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 13:44:03 GMT</pubDate>
    <dc:creator>Sabrina_V</dc:creator>
    <dc:date>2023-04-25T13:44:03Z</dc:date>
    <item>
      <title>Replace null values of a measure with a text (Pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064205#M87291</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need to create a pivot table with a revenue sum measure, but whenever the revenue sum is null, it shows a string eg "null" instead of just the null, smth like this&lt;/P&gt;
&lt;TABLE border="1" width="64%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Product 1&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Product 2&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Product 3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Customer X&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;null&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;200&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Customer Y&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;null&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;50&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;150&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Customer Z&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;120&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;100&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;null&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it any possible to do it through just the visualization?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried a bunch of different formulas but in all cases it returns null for null value cells:&lt;/P&gt;
&lt;P&gt;if(coalesce(Sum( sales_revenue_amount_eur),0)=0,'Null','not null')&lt;BR /&gt;if( IsNull(Sum( sales_revenue_amount_eur)),'Null','not null')&lt;BR /&gt;if(Sum(sales_revenue_amount_eur)&amp;gt;0,1,-1)&lt;BR /&gt;if (Sum(sales_revenue_amount_eur)+0.1=0.1,'null',0)&lt;/P&gt;
&lt;P&gt;if (coalesce(Sum( sales_revenue_amount_eur),0)+0.1=0.1,'null,Sum(sales_revenue_amount_eur))&lt;/P&gt;
&lt;P&gt;if (isnull(Sum( sales_revenue_amount_eur)),1,0)&lt;BR /&gt;Sum( sales_revenue_amount_eur)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NG30_0-1682425472785.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105761iFF7ACF59CDB61AEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NG30_0-1682425472785.png" alt="NG30_0-1682425472785.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for help.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 12:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064205#M87291</guid>
      <dc:creator>NG30</dc:creator>
      <dc:date>2023-04-25T12:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null values of a measure with a text (Pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064266#M87300</link>
      <description>&lt;P&gt;Hi -&lt;/P&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="Snip.PNG" style="width: 671px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105770i3AD06FA7479A1CF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snip.PNG" alt="Snip.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you may want to change here for what tto dispaly if the value is null.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064266#M87300</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2023-04-25T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null values of a measure with a text (Pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064267#M87301</link>
      <description>&lt;P&gt;Maybe it doesn't work because you do not have this data in your model. This would be missing values and not null values.&lt;/P&gt;
&lt;P&gt;In order to correct that you will need to add all the missing combinaison of values in the model&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064267#M87301</guid>
      <dc:creator>Sabrina_V</dc:creator>
      <dc:date>2023-04-25T13:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null values of a measure with a text (Pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064636#M87325</link>
      <description>&lt;P&gt;Thanks a lot &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/218235"&gt;@Sabrina_V&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;Yeah, that's my problem, will fix in the model then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064636#M87325</guid>
      <dc:creator>NG30</dc:creator>
      <dc:date>2023-04-26T08:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Replace null values of a measure with a text (Pivot table)</title>
      <link>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064639#M87326</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41222"&gt;@Qrishna&lt;/a&gt; ! That's helpful to know!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Replace-null-values-of-a-measure-with-a-text-Pivot-table/m-p/2064639#M87326</guid>
      <dc:creator>NG30</dc:creator>
      <dc:date>2023-04-26T08:14:45Z</dc:date>
    </item>
  </channel>
</rss>

