<?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 Using Nested IF's in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209295#M64351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm not sure which way around you want to nest the if statements, but it should be something like this:&lt;/P&gt;&lt;P&gt;=if(Field = 'A', 'Field is A', if(Field = 'B', 'Field is B', 'Field is not A or B'))&lt;BR /&gt;&lt;BR /&gt;Suggest using line breaks, and putting chunks of code into variables, to make things more readable.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2009 21:52:31 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2009-10-07T21:52:31Z</dc:date>
    <item>
      <title>Using Nested IF's in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209293#M64349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How I can nest these two If's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;B&gt;=if('Definition' &amp;amp; chr(10) &amp;amp; 'ABT-KEY' =above('Definition' &amp;amp; chr(10) &amp;amp; 'ABT-KEY'),'','Bezeichnung' &amp;amp; chr(10) &amp;amp; 'ADT-Schlüssel')&lt;/B&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;= if(len(O_POSITION.TEXTLANG)&amp;lt;30&lt;BR /&gt;,&lt;BR /&gt; capitalize(O_POSITION.TEXTLANG) &amp;amp; chr(10) &amp;amp; chr(10)&amp;amp; ABT_KEY&lt;BR /&gt;,&lt;BR /&gt; capitalize(O_POSITION.TEXTLANG) &amp;amp; chr(10) &amp;amp; ABT_KEY&lt;BR /&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 20:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209293#M64349</guid>
      <dc:creator />
      <dc:date>2009-10-07T20:29:34Z</dc:date>
    </item>
    <item>
      <title>Using Nested IF's in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209294#M64350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will make it a little simple&lt;/P&gt;&lt;P&gt;if there are two if statements in an expression of a chart like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(x= above(X),'',X&lt;BR /&gt;and if(y&amp;gt;50,'+','-')&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;How can u combine and write so that both if's will work and the syntax is correct&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sravan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 21:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209294#M64350</guid>
      <dc:creator />
      <dc:date>2009-10-07T21:47:55Z</dc:date>
    </item>
    <item>
      <title>Using Nested IF's in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209295#M64351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I'm not sure which way around you want to nest the if statements, but it should be something like this:&lt;/P&gt;&lt;P&gt;=if(Field = 'A', 'Field is A', if(Field = 'B', 'Field is B', 'Field is not A or B'))&lt;BR /&gt;&lt;BR /&gt;Suggest using line breaks, and putting chunks of code into variables, to make things more readable.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 21:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Nested-IF-s-in-a-chart/m-p/209295#M64351</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2009-10-07T21:52:31Z</dc:date>
    </item>
  </channel>
</rss>

