<?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: Nested If Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992656#M649364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above logic displays Dept. only if both the events occur at same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. Len(Trim(Name)) = 0 and also filter count &amp;gt;1 ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2015 15:01:54 GMT</pubDate>
    <dc:creator>markgraham123</dc:creator>
    <dc:date>2015-09-21T15:01:54Z</dc:date>
    <item>
      <title>Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992647#M649355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I was trying to do a nested if&amp;nbsp; statement,&lt;/P&gt;&lt;P&gt;Where if the filed "Name"is null and "Filter count" &amp;gt;1 then i wanna display the field "Dept"&lt;/P&gt;&lt;P&gt;Else "Name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some pls look into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim(Name))=0,Dept, If([Filter Count] &amp;gt; 1,&amp;nbsp; Dept, [Name])) as [New Column],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992647#M649355</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992648#M649356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(Name)) = 0 or [Filter Count] &amp;gt; 1, Dept, Name) as [New Column]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My only question is: What is Filter Count? Is it a field in your database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992648#M649356</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-21T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992649#M649357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Filter count is the filed, where i'm checking in the script, if the ID has more than one Name.&lt;/P&gt;&lt;P&gt;If so, we wcannot display the same in the straight table with two values , so we will take Dept. instead of Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992649#M649357</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T14:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992650#M649358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add something like this as an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If (Count(Name) &amp;gt; 1, Dept, Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992650#M649358</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-21T14:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992651#M649359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The new column is taking both the fields sunny.&lt;/P&gt;&lt;P&gt;Even after using the above statement,&lt;/P&gt;&lt;P&gt;Name and Dept.&lt;/P&gt;&lt;P&gt;So, we r having 2 values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992651#M649359</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T14:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992652#M649360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we need group by while using count right???&lt;/P&gt;&lt;P&gt;So, i'm doing a preceding load and using the new filed as "Filter Count"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992652#M649360</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T14:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992653#M649361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This trick works in the user interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need this in a Straight Table, you can simply use aggregation as the dimensions of the straight table will do the group-by anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992653#M649361</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-09-21T14:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992654#M649362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Peter.&lt;/P&gt;&lt;P&gt;But i wanna do that in script.&lt;/P&gt;&lt;P&gt;Since there were other calculations based on this filed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992654#M649362</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992655#M649363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mark Graham.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim(Name)) = 0&lt;STRONG&gt; and&lt;/STRONG&gt; [Filter Count] &amp;gt; 1, Dept, Name) as [New Column]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 14:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992655#M649363</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2015-09-21T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992656#M649364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above logic displays Dept. only if both the events occur at same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. Len(Trim(Name)) = 0 and also filter count &amp;gt;1 ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 15:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992656#M649364</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T15:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992657#M649365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mark Graham.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How mentioned in your first post. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where if the filed "Name"is null &lt;STRONG&gt;and&lt;/STRONG&gt; "Filter count" &amp;gt;1 then i wanna display the field "Dept"&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Else "Name"&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 15:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992657#M649365</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2015-09-21T15:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992658#M649366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its like, if we encounter any of the Null or Filter count &amp;gt;1 , then "Dept" else name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its wokring with or statement, but the problem is, only for few records, i'm gretting both the name and Dept.&lt;/P&gt;&lt;P&gt;which is strange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 15:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992658#M649366</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-21T15:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992659#M649367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some sample data where it is not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 16:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992659#M649367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-21T16:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992660#M649368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(IsNull(Name) or [Filter Count], Dept, Name) as [New Column]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 23:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992660#M649368</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-09-21T23:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992661#M649369</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;Try this&lt;/P&gt;&lt;P&gt;IF(LEN(Name) = 0 OR ISNULL(Name) AND count([Filter Count]) &amp;gt; 1, Dept, Name) AS [New Col]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992661#M649369</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-09-22T10:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992662#M649370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;try this&lt;BR /&gt;&lt;/SPAN&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; line-height: 1.5em;"&gt;IF(Isnull(Name) or &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Filter count" &amp;gt;1 ,Dept,Name)&amp;nbsp; as &lt;SPAN&gt;[New Column]&lt;/SPAN&gt;&lt;/SPAN&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;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&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;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/SPAN&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;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&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;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(Isnull(Name) ,IF( &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Filter count" &amp;gt;1 ,Dept,Name))&amp;nbsp; as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[New Column]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 10:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992662#M649370</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-09-22T10:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992663#M649371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq sunil. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;all the solutions worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992663#M649371</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-22T16:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992664#M649372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq Gabriel. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992664#M649372</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-22T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nested If Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992665#M649373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanq Marco. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-If-Statement/m-p/992665#M649373</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-09-22T16:55:02Z</dc:date>
    </item>
  </channel>
</rss>

