<?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: Help with If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852430#M992836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(BusinessUnit &amp;lt;&amp;gt; BusinessUnit_OLD or Department &amp;lt;&amp;gt; Department_OLD or Division &amp;lt;&amp;gt; Division_OLD,1) as RoleChange_Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2015 16:26:56 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-07-10T16:26:56Z</dc:date>
    <item>
      <title>Help with If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852428#M992834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i can't think properly today!&lt;/P&gt;&lt;P&gt;i am trying to create a new field in the script with the following conditions.&lt;/P&gt;&lt;P&gt;I have 6 fields (3 new and 3 old as below)&lt;/P&gt;&lt;P&gt;BusinessUnit&lt;/P&gt;&lt;P&gt;BusinessUnit_OLD&lt;/P&gt;&lt;P&gt;Department&lt;/P&gt;&lt;P&gt;Department_OLD&lt;/P&gt;&lt;P&gt;Division&lt;/P&gt;&lt;P&gt;Division_OLD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a flag field 'RoleChange_Flag' if the above do not match each other , i.e. if &lt;SPAN style="font-size: 13.3333330154419px;"&gt;BusinessUnit &amp;lt;&amp;gt; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;BusinessUnit_OLD then 1 as &lt;SPAN style="font-size: 13.3333330154419px;"&gt;RoleChange_Flag.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want &lt;SPAN style="font-size: 13.3333330154419px;"&gt;RoleChange_Flag to be populated if either of them are different, so something like..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(BusinessUnit&amp;lt;&amp;gt;BusinessUnit_OLD,1 or if(Department&amp;lt;&amp;gt;Department_OLD,1 or if(Division&amp;lt;&amp;gt;Division_OLD,1))) as RoleChange_Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to get the syntax right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 16:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852428#M992834</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-07-10T16:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852429#M992835</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: 13.3333330154419px;"&gt;if(BusinessUnit&amp;lt;&amp;gt;BusinessUnit_OLD or Department&amp;lt;&amp;gt;Department_OLD or Division&amp;lt;&amp;gt;Division_OLD,1) as RoleChange_Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 16:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852429#M992835</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-07-10T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852430#M992836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(BusinessUnit &amp;lt;&amp;gt; BusinessUnit_OLD or Department &amp;lt;&amp;gt; Department_OLD or Division &amp;lt;&amp;gt; Division_OLD,1) as RoleChange_Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 16:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852430#M992836</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-10T16:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852431#M992837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahh, i was certain i needed to use multiple if statements!&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 16:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-If-statement/m-p/852431#M992837</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2015-07-10T16:30:34Z</dc:date>
    </item>
  </channel>
</rss>

