<?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: Big Nested Ifs formula in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2065199#M87364</link>
    <description>&lt;P&gt;Hello Edwin, currently they are in the same table. I will try to do this according with your advice.&lt;/P&gt;
&lt;P&gt;I will check and let you know how things are going.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Karolina&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 12:32:02 GMT</pubDate>
    <dc:creator>SingSing16</dc:creator>
    <dc:date>2023-04-27T12:32:02Z</dc:date>
    <item>
      <title>Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2062757#M87163</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Can you please support me with creation of big formula which will marge 4 small below:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;=if(match(("CPS",'Backl') and match("OS",'UnQual','Qual','Prop','Neg','CA') or match("OS",'OW','Book','CR','CW'),'FALSE','TRUE'))&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;=if(match(("CPS",'Quot') and match ("OS",'UnQual,'Qual','Prop','Neg')or match("OS", 'OW','Book','CR','CW','CA')&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;,'TRUE','FALSE'))&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;=if(match(("CPS",'PTB','Shipp','Isnt','Accept','Clin') and match("OS",'UnQal','Qual','Prop','Neg','OW','Book','CR','CA') or match ("OS",'UnQal','Qual','Prop','Neg'), 'FALSE','TRUE'))&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;=if(match(("CPS",'ORP','IRP') or Match("OS",' '),'Invalid','Invalid'))&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: black;"&gt;Karolina&lt;/P&gt;
&lt;DIV style="direction: ltr;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Apr 2023 21:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2062757#M87163</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-04-20T21:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2063245#M87208</link>
      <description>&lt;P&gt;if you explain what you are trying to do, what your data looks like then it may be easy for others to help you&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 19:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2063245#M87208</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2023-04-21T19:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2064939#M87349</link>
      <description>&lt;P&gt;Hello Edwin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your reply.&lt;/P&gt;
&lt;P&gt;I think that the best way will be attatching the matrix, where you will see which answer I would like to gain.&lt;/P&gt;
&lt;P&gt;I will really appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2064939#M87349</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-04-26T16:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2064970#M87351</link>
      <description>&lt;P&gt;if you want to maintaing the IF statements then you just cascade them, however you need to reformat these in the following :&lt;BR /&gt;&lt;BR /&gt;if( condition1, Invalid,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(condition1, True,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else False&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;
&lt;P&gt;)&lt;BR /&gt;&lt;BR /&gt;can you tell me if the two fields CPS and OS are in one table?&amp;nbsp; if so, you can build the logic in your DM by creating a table:&lt;BR /&gt;CPS, OS, Status&lt;BR /&gt;IPR, UnQual, Invalid&lt;BR /&gt;IPR, Qual, Invalid&lt;BR /&gt;...&lt;BR /&gt;Quot,UnQual, True&lt;BR /&gt;Quot, Qual,True&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;then you dont need any if statements.&amp;nbsp; but that will depend on your DM.&amp;nbsp; if CPS and OS are in separate tables, it becomes a little bit complicated but at least you dont need to maintain that head scratcher and your charts will be a little bit faster as it will not need to evaluate a cascaded if statement.&amp;nbsp; also, the NULL will need a little tweaking&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 17:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2064970#M87351</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2023-04-26T17:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2065199#M87364</link>
      <description>&lt;P&gt;Hello Edwin, currently they are in the same table. I will try to do this according with your advice.&lt;/P&gt;
&lt;P&gt;I will check and let you know how things are going.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Karolina&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 12:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2065199#M87364</guid>
      <dc:creator>SingSing16</dc:creator>
      <dc:date>2023-04-27T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Big Nested Ifs formula</title>
      <link>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2065310#M87373</link>
      <description>&lt;P&gt;if they are in the same table then you can precalculate the status, yo can load your matrix as a table and then left join it to your table, this will give you your status as a field.&amp;nbsp; you wont need your IF statement anymore which would make it faster and simpler to maintain&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 13:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Big-Nested-Ifs-formula/m-p/2065310#M87373</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2023-04-27T13:52:18Z</dc:date>
    </item>
  </channel>
</rss>

