<?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: Coalesce Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097057#M932246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim( statusname )) &amp;gt;0, statusname, recordedstatus) as status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len(Trim(FIELD)) does return zero for NULL, but also for empty strings or strings with only spaces.&lt;/P&gt;&lt;P&gt;There is also IsNull(FIELD) function to check only for NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be able to use above load statement, both fields need to be part of your input table (but that should not be different from COALESCE().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2016 13:39:59 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-07T13:39:59Z</dc:date>
    <item>
      <title>Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097049#M932238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to apply the coalesce equivalent function on two fields situated in different tables in Qlik. I have tried different tactics such as &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 14px; font-family: Helvetica, Arial, sans-serif;"&gt;statusname&amp;amp;'_'&amp;amp;d2.&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;recordedstatus as status&lt;/SPAN&gt; and &lt;SPAN style="color: #ff0000;"&gt;statusname as stats and d2.recordedstatus as stats&lt;/SPAN&gt; but resulted in no fruition. Please guide me towards the right way of doing the coalesce function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Thanks in advance.......&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117039_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097049#M932238</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097050#M932239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Would you be able to reduce the size of the application you are sharing? -&amp;gt; &lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;coalesce? Never heard about it, may be you or someone else can explain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097050#M932239</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T23:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097051#M932240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's a SQL function, similar to QV's Alt() function, not limited to numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Evaluates the arguments in order and returns the current value of the first expression that initially does not evaluate to NULL."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't looked into the sample QVW, but I assume the first issue to resolve is to reference "two fields situated in different tables in Qlik".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097051#M932240</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-04T23:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097052#M932241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, Stefan, I apologise for repeating myself. Again. Just ignore the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/208493"&gt;aaqureshi2010&lt;/A&gt;since you decided to launch a new discussion on the same topic, consider closing the previous one as to not leave any loose ends: &lt;A href="https://community.qlik.com/thread/208124"&gt;Coalesce statement in Qlikview&lt;/A&gt;‌ Thanks.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097052#M932241</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-03-05T00:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097053#M932242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for your responses. I have reduced the data size as per Sunny's suggestion and Peter I have closed the above specified thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;coalesce(statusname,d2.&lt;/SPAN&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;recordedstatus) as status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Please help with the above function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Thanks,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 03:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097053#M932242</guid>
      <dc:creator />
      <dc:date>2016-03-05T03:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097054#M932243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry needed to remove some unnecessary data. I have commented out the tables not mandatory for the application in the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 03:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097054#M932243</guid>
      <dc:creator />
      <dc:date>2016-03-05T03:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097055#M932244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, your DataModel still shows the same size of 41 MB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe it's necessary to work with such a large data model to demonstrate your issue. You can filter your records by using a WHERE clause or selecting values in the front end, then reduce to possible values from File menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you need a script solution, it would be very helpful to be able to &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;reload your document, so we would need the source QVD (or better create some small INLINE tables with some mock up data).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's also quite unclear to me what the exact requested result is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't really get what you mean with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: Helvetica, Arial, sans-serif; color: #0000ff;"&gt;statusname&amp;amp;'_'&amp;amp;d2.&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-family: Helvetica, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;recordedstatus as status&lt;/SPAN&gt; and &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;statusname as stats and d2.recordedstatus as stats&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think it would be better if you could translate this requirement in a requested table result, fields and values.&lt;/P&gt;&lt;P&gt;(And again, I assume you can demonstrate what you want to achieve with a couple of records, not some hundred thousand).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regads,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 09:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097055#M932244</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-05T09:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097056#M932245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;This is my requirement....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;coalesce(statusname,&lt;/SPAN&gt;&lt;SPAN style="color: #500050; font-family: arial, sans-serif; font-size: 12.8px;"&gt;recordedstatus) as status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have attached a sample Excel sheet with these two columns. I don't know how to implement this in Qlik. Peter had suggested Alt() is the Coalesce in Qlik but only for number fields not for textual fields. My DBA has used this function in his query and wants me to imitate it in Qlik please provide assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097056#M932245</guid>
      <dc:creator />
      <dc:date>2016-03-07T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097057#M932246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim( statusname )) &amp;gt;0, statusname, recordedstatus) as status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len(Trim(FIELD)) does return zero for NULL, but also for empty strings or strings with only spaces.&lt;/P&gt;&lt;P&gt;There is also IsNull(FIELD) function to check only for NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be able to use above load statement, both fields need to be part of your input table (but that should not be different from COALESCE().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097057#M932246</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-07T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097058#M932247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more requirement. I have to imitate when the clientid is null so would this work here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(len(clientid=0))&amp;nbsp;&amp;nbsp; or should i use isnull(clientid).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097058#M932247</guid>
      <dc:creator />
      <dc:date>2016-03-07T13:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097059#M932248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Len(clientid) = 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true for nulls and empty strings&lt;/P&gt;&lt;P&gt;IsNull(clientid)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true for nulls only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use whichever one best suits your requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097059#M932248</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-07T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097060#M932249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there other ways to write ISNULL in qlikview except the two&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Len(clientid) = 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true for nulls and empty strings&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IsNull(clientid)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; returns true for nulls only&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; 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; line-height: 1.5em;"&gt;They both get me the same number of rows but not exactly producing the results needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097060#M932249</guid>
      <dc:creator />
      <dc:date>2016-03-07T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097061#M932250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest that you post a small example the illustrates the problem as well as the value you expect or require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those are the only two simple functions, but there may be other ways depending on the context (eg using SQL "NOT IS NULL" in a SQL SELECT statement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097061#M932250</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-07T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097062#M932251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;STRONG&gt;Len(Trim(clientid))&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097062#M932251</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-07T14:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097063#M932252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for all your help thus far. Below are the SQL functions I have to apply in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;select distinct d2.clientid, d1c.clientname, coalesce(statusname,d2.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;recordedstatus) as status, case when activeusercount is not null and activeusercount &amp;gt; 2 then 'yes' else 'no' end as "More than 2 users in 30 days", d1.testaccountflag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;where d2.fkdimrbcapplication &amp;lt; 15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;and usethisinstance = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;and netsuiteid is null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;order by 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I'm attaching the filters I've written in Qlik. If you see something which jumps out at you guys please provide me with the corrections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Is Order By only possible in Qlik when you're using Resident Load?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Thanks,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 17:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097063#M932252</guid>
      <dc:creator />
      <dc:date>2016-03-07T17:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097064#M932253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use in QV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE Len(Trim(netsuidid)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then this is the opposite of (in SQL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE netsuid is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;WHERE Len(Trim(netsuidid))&amp;nbsp; =0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;WHERE IsNull(netsuidid) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if you want to check only for NULL&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 17:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097064#M932253</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-07T17:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097065#M932254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Stefan. You had sent me the below filter earlier today. Is it wise to use this in scripting or as a calculated dimension in a chart. Both those two fields (statusname and recordedstatus) are located in different tables that's why I have opted to use it as a calculated dimension due to my lack of understanding in how to filter it out at the scripting level.&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(Len(Trim( statusname )) &amp;gt;0, statusname, recordedstatus) as status&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 17:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097065#M932254</guid>
      <dc:creator />
      <dc:date>2016-03-07T17:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Coalesce Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097066#M932255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your kind assistance!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 18:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coalesce-Statement/m-p/1097066#M932255</guid>
      <dc:creator />
      <dc:date>2016-03-07T18:26:48Z</dc:date>
    </item>
  </channel>
</rss>

