<?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: Problem Trying to Filter Null values in QLIK Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108713#M7427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I regret that I'm not sure what you mean by "via script". In the load script? Or a Master Dimension? Used to Tableau so find some things quite different in Qlik Sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jul 2018 22:29:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-22T22:29:42Z</dc:date>
    <item>
      <title>Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108707#M7421</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 the following table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208373_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The Unit Ref comes from one table which does not have the Lease Ref and the Lease Ref from another that does not have the Unit ref. They are linked via a 3rd Table which has both. Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to filter so that we can just see all the units that don't have a Lease ref in the table, though to be able to filter either way would be preferable (just those with lease refs and then just those without).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a dimension called Leased Units (3rd column in&amp;nbsp; the table above) that only works for Units that have a Lease ref, and it is driving me nuts trying to figure out how to get the 'No Lease' part to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension is =if(len(trim([Lease Ref]))=0,'No Lease','Leased')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dragging that onto the dashboard only gives me one choice:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/208374_Capture2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Selecting "Leased" in the filter I only see all the records that do have a lease ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm fairly new to QLIK Sense but I'm sure I will kick myself when I find out how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 01:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108707#M7421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-20T01:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108708#M7422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to create as&amp;nbsp; master dimension and use that in chart or table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 16:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108708#M7422</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-07-20T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108709#M7423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;You could not make the condition via script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Not isnull(len(trim(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Lease Ref]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))),'Leased','Not Lease') as [Leased Units]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 17:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108709#M7423</guid>
      <dc:creator>PabloTrevisan</dc:creator>
      <dc:date>2018-07-20T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108710#M7424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the field is null not empty, so len() will return null not 0.&amp;nbsp; Use IsNull() to test for null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/NULLFunctions/IsNull.htm" title="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/NULLFunctions/IsNull.htm"&gt;https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/NULLFunctions/IsNull.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 20:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108710#M7424</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-07-20T20:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108711#M7425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be these:&lt;/P&gt;&lt;P&gt;Aggr(if(Len(trim([Lease Ref]))&amp;gt;0,Count([Lease Ref])),[Leased Units])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Lease Ref] = {'*'}&amp;gt;}Aggr(Count([Lease Ref]),[Leased Units]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2018 11:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108711#M7425</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-21T11:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108712#M7426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I did not make myself clear. I did create a Master Dimension (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(len(trim([Lease Ref]))=0,'No Lease','Leased')) &lt;/SPAN&gt;and used it in the table as Leased Units. It shows when they are leased but just - when not.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208497_Capture3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Dragging the Master dimension onto the Desktop only shows the Leased choice.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/208498_Capture2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2018 22:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108712#M7426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-22T22:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108713#M7427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I regret that I'm not sure what you mean by "via script". In the load script? Or a Master Dimension? Used to Tableau so find some things quite different in Qlik Sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2018 22:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108713#M7427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-22T22:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108714#M7428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes a lot of sense but actually made no difference at all. I changed my Master Dimension to =if(ISNULL([Lease Ref]),'No Lease','Leased'). Pity. Thought it would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2018 22:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108714#M7428</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-22T22:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108715#M7429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Thanks for the reply but I'm not sure how I would use your suggestions. Create Master dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is filter my table so I just see all the Units that just have - as the Lease Ref, as in Unit Ref 0.07 below. My Master dimension &lt;SPAN style="text-decoration: underline;"&gt;Leased Units&lt;/SPAN&gt; (&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(len(trim([Lease Ref]))=0,'No Lease','Leased')) only allows me to just see all those that are Leased or both (Leased and - as below). Changing it to &lt;/SPAN&gt;=if(ISNULL([Lease Ref]),'No Lease','Leased') makes no difference.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/208508_Capture1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2018 22:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108715#M7429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-22T22:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108716#M7430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After trying various Master Dimension expressions, including the two below which should work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(NOT IsNull([Lease Ref]) OR Len(trim([Lease Ref]))&amp;lt;&amp;gt;0,'Leased','Not Leased')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If([Lease Ref] &amp;amp; '?' = '?','Not Leased','Leased')&lt;/P&gt;&lt;P&gt;I eventually tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;=If([Lease Ref] &amp;amp; [UNIT.Unit Ref]=[UNIT.Unit Ref],'Not Leased','Leased')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This works! Haven't got the faintest clue why it does when the 2nd one didn't but, who cares.&lt;/P&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 04:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/108716#M7430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-23T04:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Trying to Filter Null values in QLIK Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/1594392#M43733</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I got the same scenario as you,&amp;nbsp; no matter what statement I use,&amp;nbsp; len(trim),&amp;nbsp; purchar etc,&amp;nbsp; &amp;nbsp;the dimension value as display as '-',&amp;nbsp; want to understand your workable solution&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;=If([Lease Ref] &amp;amp; [UNIT.Unit Ref]=[UNIT.Unit Ref],'Not Leased','Leased')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;what is this UNIT.Unit Ref ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Other guru :-&amp;nbsp; &amp;nbsp;basically I got a table MEMBER with UID, member in the data load editor,&amp;nbsp; &amp;nbsp; the other table got UID, Name.................. etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the QS Hub,&amp;nbsp; the table with member dimension show '-' for those not appearing in the&amp;nbsp; MEMBER table,&amp;nbsp; &amp;nbsp;and those appearing in the table will be 'Y',&amp;nbsp; &amp;nbsp;wanted to create an express for those '-' to 'Non Member',&amp;nbsp; no matter how I do it still '-'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 04:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-Trying-to-Filter-Null-values-in-QLIK-Sense/m-p/1594392#M43733</guid>
      <dc:creator>skychris</dc:creator>
      <dc:date>2019-06-21T04:15:37Z</dc:date>
    </item>
  </channel>
</rss>

