<?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 with Not Equal to a value and equal to three other values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537324#M38767</link>
    <description>&lt;P&gt;Thanks Rbartley.&lt;/P&gt;&lt;P&gt;The expression you gave did the trick. But Can i please know about the think of Not Equal to syntax and use in Qlik Sense?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 16:14:42 GMT</pubDate>
    <dc:creator>kaustubh</dc:creator>
    <dc:date>2019-01-30T16:14:42Z</dc:date>
    <item>
      <title>IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537307#M38761</link>
      <description>&lt;P&gt;=IF( [Appt Duration] = 20 OR [Appt Duration] = 25 OR [Appt Duration] = 30, [Appt Duration])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have written above expression in Set Analysis. According to my understanding it should exclude all the Other values having Duration 15,60, etc and must include only those having duration 20,25,30.&lt;/P&gt;&lt;P&gt;Can someone please help me understand this expression and does it do what I need it to do in correct manner. other suggestion and techniques are welcome.&lt;/P&gt;&lt;P&gt;I only want the values belonging to 20, 25, 30 So that I have dimension of it as stacked.But still it is fetching data that does not belong to 20,25,30 as separate Bar.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Duration&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;25&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;45&lt;/P&gt;&lt;P&gt;60&lt;/P&gt;&lt;P&gt;25&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537307#M38761</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-01-30T15:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537311#M38763</link>
      <description>&lt;P&gt;This expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Appt Duration] =- 15&amp;nbsp; AND [Appt Duration] = 15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;will never be true&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537311#M38763</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-01-30T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537312#M38764</link>
      <description>&lt;P&gt;Meaning? What exactly is going on here. i am new to App Development in Qlik Sense. I also want the values belonging to only 20, 25 30 and no others.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537312#M38764</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-01-30T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537321#M38765</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=IF( [Appt Duration] = 20 OR [Appt Duration] = 25 OR [Appt Duration] = 30, [Appt Duration])&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;is not set analysis, it's an if statement.&amp;nbsp; Set analysis is generally only used for restricting measures, e.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;[Appt Duration]={20,25,30}&amp;gt;} Measure)&lt;/PRE&gt;&lt;P&gt;That said, your If() statement should be ok.&amp;nbsp; I suggest you upload your app (zip it first else it won't work) so that we can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537321#M38765</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-30T16:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537324#M38767</link>
      <description>&lt;P&gt;Thanks Rbartley.&lt;/P&gt;&lt;P&gt;The expression you gave did the trick. But Can i please know about the think of Not Equal to syntax and use in Qlik Sense?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537324#M38767</guid>
      <dc:creator>kaustubh</dc:creator>
      <dc:date>2019-01-30T16:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with Not Equal to a value and equal to three other values</title>
      <link>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537332#M38769</link>
      <description>&lt;P&gt;To exclude values use -=, so to exclude 15 and 60:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;[Appt Duration]-={15,60}&amp;gt;} Measure)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, if you specify a list of values to include for a given dimension, you don't need to specify those to exclude for the same dimension unless you specify a range of values where one range does not logically exclude the other.&amp;nbsp; So,&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;[Appt Duration]={&lt;SPAN&gt;"&amp;gt;10"},[Appt Duration]-={30}&lt;/SPAN&gt;&amp;gt;} Measure)&lt;/PRE&gt;&lt;P&gt;would give you all the durations greater than 10 excluding 30.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-statement-with-Not-Equal-to-a-value-and-equal-to-three-other/m-p/1537332#M38769</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-30T16:26:19Z</dc:date>
    </item>
  </channel>
</rss>

