<?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: If statement issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210950#M23261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 20:14:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-21T20:14:55Z</dc:date>
    <item>
      <title>If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210944#M23255</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 am having an issue with an if statement that should be fairly simple. I am really confused why it is not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 separate statements that I need to check when they are the same. These are the 2 working statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(SubField(Matter_Interval_BA_OA_Key,'|',4) = SubField(Matter_Interval_BA_OA_Key,'|',5), 1, 0) AS BA_OA_Flag&lt;/P&gt;&lt;P&gt;If(SubField(Matter_Interval_BA_OA_Key,'|',4) = Working_TK, 1, 0) AS BA_WA_Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I combined them to see where &lt;SPAN style="font-size: 13.3333px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',4) is equal to &lt;SPAN style="font-size: 13.3333px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',5) and it is also equal to Working_TK it doesn't work. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what this is not working??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210944#M23255</guid>
      <dc:creator />
      <dc:date>2016-10-21T18:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210945#M23256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You provided the ones which worked, but did not provide the one which did not work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Can you provide the one which did not work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210945#M23256</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210946#M23257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. I've tried a variety of things but this is generally what I am trying to get to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',4) = SubField(Matter_Interval_BA_OA_Key,'|',5) AND&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',4) = Working_TK, 1, 0) AS BA_OA_WA_Flag&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210946#M23257</guid>
      <dc:creator />
      <dc:date>2016-10-21T18:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210947#M23258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It essentially seems like that you are checking for this, isn't it?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(&lt;SPAN style="font-style: inherit;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',5) = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Working_TK&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;, 1, 0) as BA_OA_WA_Flag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 19:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210947#M23258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T19:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210948#M23259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite. Let's call &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',4)&amp;nbsp; as BA and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',5) as OA for my own clarity..&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a flag for when BA does not equal OA, and BA does not equal Working_TK. OA and Working_TK can be equal, as long as neither of them are equal to BA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 19:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210948#M23259</guid>
      <dc:creator />
      <dc:date>2016-10-21T19:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210949#M23260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So may be this:&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;&lt;STRONG&gt;If(&lt;SPAN style="font-style: inherit;"&gt;SubField(Matter_Interval_BA_OA_Key,'|',4) &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; SubField(Matter_Interval_BA_OA_Key,'|',5) and&lt;/SPAN&gt;&lt;/STRONG&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="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;SubField(Matter_Interval_BA_OA_Key,'|',4) &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt; Working_TK, 1, 0) AS BA_OA_WA_Flag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210949#M23260</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-21T20:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: If statement issue</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210950#M23261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-issue/m-p/1210950#M23261</guid>
      <dc:creator />
      <dc:date>2016-10-21T20:14:55Z</dc:date>
    </item>
  </channel>
</rss>

