<?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 with And issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455762#M35807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just tried this myself and Arvind is correct, the expression editor when creating a calculated field via Data Manager is limited and very controlled. The interface is a bit different to the expression editors we have in Qlik Sense. I tested it on the Cloud so it's the latest version &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I tried to do something simple like IF(C&amp;gt;10 OR C&amp;lt;5,'Yes','No') the expression just didn't work and the ANDs or ORs weren't recognised.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 00:17:07 GMT</pubDate>
    <dc:creator>luismadriz</dc:creator>
    <dc:date>2017-12-28T00:17:07Z</dc:date>
    <item>
      <title>Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455758#M35803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am creating a Calculated Field when uploading data through Data Manager in Qlik Sense&lt;/P&gt;&lt;P&gt;the formula for the calculated field is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(FlgtHour&amp;lt;=10,'1st Wave', &lt;/P&gt;&lt;P&gt;If(FlgtHour&amp;gt;10 and FlgtHour&amp;lt;=16,'2nd Wave', 'Final Wave'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't have the 'and' keyword in the second expression it works - as soon as I incorporate the 'and' it fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the 'and' not work when creating a calculated filed in Data Manager?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its driving me ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 15:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455758#M35803</guid>
      <dc:creator>avermalla</dc:creator>
      <dc:date>2017-12-27T15:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455759#M35804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think it should... but you can just do 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(FlgtHour&amp;lt;=10,'1st Wave',&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;STRONG&gt;If(FlgtHour&amp;lt;=16,'2nd Wave', 'Final Wave'))&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;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Because if FlgtHour is less than 10, it will just get picked in 1st Wave, you don't really need to add the first part of the condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455759#M35804</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T16:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455760#M35805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;Thanks it did work - however in this case the options were quiet simple - but why is the add not working in Data Upload. It works in all other expressions in the front end its only an issue in 'Data Upload - Calculated field'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455760#M35805</guid>
      <dc:creator>avermalla</dc:creator>
      <dc:date>2017-12-27T16:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455761#M35806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the if statement you posted above, I don't see any problem... would you be able to show us the error message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455761#M35806</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-27T16:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455762#M35807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I just tried this myself and Arvind is correct, the expression editor when creating a calculated field via Data Manager is limited and very controlled. The interface is a bit different to the expression editors we have in Qlik Sense. I tested it on the Cloud so it's the latest version &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever I tried to do something simple like IF(C&amp;gt;10 OR C&amp;lt;5,'Yes','No') the expression just didn't work and the ANDs or ORs weren't recognised.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 00:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455762#M35807</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-28T00:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455763#M35808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not aware of this new place where you can add this if statement &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 00:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1455763#M35808</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T00:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nested if with And issue</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1698838#M53510</link>
      <description>&lt;P&gt;Hey, Just wondering if there has been any fix for this. It will be nice to have the AND/OR enabled with conditional IF when creating a calculated field. Sometimes, conditions to derive a new field could be tricky.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 15:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-if-with-And-issue/m-p/1698838#M53510</guid>
      <dc:creator>Bisanta</dc:creator>
      <dc:date>2020-05-04T15:41:47Z</dc:date>
    </item>
  </channel>
</rss>

