<?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: Need help in set analysis and null handling in expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040074#M85706</link>
    <description>&lt;P&gt;Hi there ,&lt;/P&gt;
&lt;P&gt;the expression is still not working.&lt;/P&gt;
&lt;P&gt;even though the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashmitp869_0-1676933158377.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100945i6EF44F3117C9079A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashmitp869_0-1676933158377.png" alt="ashmitp869_0-1676933158377.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 23:11:13 GMT</pubDate>
    <dc:creator>ashmitp869</dc:creator>
    <dc:date>2023-02-20T23:11:13Z</dc:date>
    <item>
      <title>Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040056#M85703</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I want to calculate the measures Uncoded Service Events show as 1 i.e&amp;nbsp; sum(SE) where [Coded Flag] is null.&lt;/P&gt;
&lt;P&gt;here are my data :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashmitp869_0-1676930358792.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100937i1F754059A9CA8419/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashmitp869_0-1676930358792.png" alt="ashmitp869_0-1676930358792.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have used this query but the expression is not working.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Coded Flag] ={'Uncoded'}&amp;gt; + &amp;lt;[Coded Flag]={"=isnull([Coded Flag])"}&amp;gt;}[SE])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 22:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040056#M85703</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2023-02-20T22:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040058#M85704</link>
      <description>&lt;P&gt;&lt;STRONG&gt;[Coded Flag]={"&lt;FONT color="#FF0000"&gt;=Len(Trim([Coded Flag]))=0&lt;/FONT&gt;"}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040058#M85704</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-02-20T23:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040074#M85706</link>
      <description>&lt;P&gt;Hi there ,&lt;/P&gt;
&lt;P&gt;the expression is still not working.&lt;/P&gt;
&lt;P&gt;even though the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashmitp869_0-1676933158377.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100945i6EF44F3117C9079A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashmitp869_0-1676933158377.png" alt="ashmitp869_0-1676933158377.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040074#M85706</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2023-02-20T23:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040076#M85707</link>
      <description>&lt;P&gt;Actually , [Coded Flag] value is "Coded" and "Uncoded"&lt;/P&gt;
&lt;P&gt;thus or part is not working- I need to check [Coded Flag] is null&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Coded Flag] ={'Uncoded'}&amp;gt; + &amp;lt;[Coded Flag]={"&lt;FONT color="#FF0000"&gt;=Len(Trim([Coded Flag]))=0&lt;/FONT&gt;"}&amp;gt;}[SE])&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040076#M85707</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2023-02-20T23:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040081#M85709</link>
      <description>&lt;P&gt;Suppress null values on the dimensions.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040081#M85709</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-02-20T23:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040082#M85710</link>
      <description>&lt;P&gt;The coded Flag is not on the dim, but for testing I brought it.&lt;/P&gt;
&lt;P&gt;Is main field is DRG Code - unable to suppress the DRG Code. As I need to show the DRG Code if null.&lt;/P&gt;
&lt;P&gt;Is there any other way to handle it - with out suppressing the DRG Code.?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 23:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040082#M85710</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2023-02-20T23:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040086#M85711</link>
      <description>&lt;DIV style="display: block; padding-right: 25px;"&gt;To test if the filter actually works, disable all columns except SE.&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Feb 2023 00:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040086#M85711</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-02-21T00:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040089#M85712</link>
      <description>&lt;P&gt;I tried to handle the null by load script -&lt;/P&gt;
&lt;P&gt;[v_DIM_AR_DRG_TMP]:&lt;/P&gt;
&lt;P&gt;seleclt&lt;/P&gt;
&lt;P&gt;,CASE WHEN [DRG Code]= '960Z' OR [DRG Code] IS NULL OR len(trim( [DRG Code]))=0 THEN 1 ELSE 0&lt;BR /&gt;END AS CFlag&lt;/P&gt;
&lt;P&gt;from table ;&lt;/P&gt;
&lt;P&gt;[v_DIM_AR_DRG]:&lt;BR /&gt;LEFT KEEP([v_FACT_AP_SE_WAU])&lt;BR /&gt;LOAD &lt;BR /&gt;[DRG Code]&lt;BR /&gt;&lt;BR /&gt;,if(CFlag=0,'Coded','Uncoded') as [Coded Flag]&lt;BR /&gt;, if(len(trim( [DRG Code]))=0,1,0) as Null_Flag&lt;/P&gt;
&lt;P&gt;Resident&amp;nbsp;v_DIM_AR_DRG_TMP;&lt;/P&gt;
&lt;P&gt;but still can't handle it&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="ashmitp869_0-1676941889863.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/100950i67BCE7B1D47BF304/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashmitp869_0-1676941889863.png" alt="ashmitp869_0-1676941889863.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 01:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040089#M85712</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2023-02-21T01:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in set analysis and null handling in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040179#M85717</link>
      <description>&lt;P&gt;If row one is all you need, these two expressions will do.&lt;/P&gt;
&lt;P&gt;Count({$&amp;lt;[Coded Flag] ={'Uncoded'}&amp;gt;}[# Rows])&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;[Coded Flag]={'Uncoded'}&amp;gt;}[SE])&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 07:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-help-in-set-analysis-and-null-handling-in-expression/m-p/2040179#M85717</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-02-21T07:29:48Z</dc:date>
    </item>
  </channel>
</rss>

