<?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 How to avoid nested if conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-avoid-nested-if-conditions/m-p/2088077#M89187</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am facing performance issue due to nested if condition. It is getting lot of time to load a chart.&lt;/P&gt;
&lt;P&gt;We have used vizlib table where only single measure has been used.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help to optimize the below mentioned code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IF( GetFieldSelections(display_ou_forecasting) = 'All' OR GetSelectedCount(display_ou_forecasting) = 0&lt;BR /&gt;,&lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;
&lt;P&gt;, IF( GetFieldSelections(display_ou_forecasting) = 'Under Forecasting'&lt;BR /&gt;,&lt;BR /&gt;IF(&lt;BR /&gt;(&lt;BR /&gt;sum( total &amp;lt;brand,affiliate&amp;gt;&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;))))&lt;BR /&gt;) &lt;BR /&gt;/&lt;BR /&gt;sum(total &amp;lt;brand,affiliate&amp;gt; {$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;))))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&amp;gt; kpi_target_r_ou_high&lt;BR /&gt;, &lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;, 0&lt;BR /&gt;)&lt;BR /&gt;,&lt;BR /&gt;IF( GetFieldSelections(display_ou_forecasting) = 'Over Forecasting'&lt;BR /&gt;,&lt;BR /&gt;IF(&lt;BR /&gt;(&lt;BR /&gt;sum( total &amp;lt;brand,affiliate&amp;gt;&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;))))&lt;BR /&gt;) &lt;BR /&gt;/&lt;BR /&gt;sum(total &amp;lt;brand,affiliate&amp;gt; {$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;))))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&amp;lt; kpi_target_r_ou_low&lt;BR /&gt;, &lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;, 0&lt;BR /&gt;) &lt;BR /&gt;)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;//=$(vO/U KPI %_Forecast_Bias_DFU_Brand&amp;amp;Affiliate)&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 04:50:26 GMT</pubDate>
    <dc:creator>sunitha_chellaiah</dc:creator>
    <dc:date>2023-06-27T04:50:26Z</dc:date>
    <item>
      <title>How to avoid nested if conditions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-avoid-nested-if-conditions/m-p/2088077#M89187</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am facing performance issue due to nested if condition. It is getting lot of time to load a chart.&lt;/P&gt;
&lt;P&gt;We have used vizlib table where only single measure has been used.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help to optimize the below mentioned code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IF( GetFieldSelections(display_ou_forecasting) = 'All' OR GetSelectedCount(display_ou_forecasting) = 0&lt;BR /&gt;,&lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;
&lt;P&gt;, IF( GetFieldSelections(display_ou_forecasting) = 'Under Forecasting'&lt;BR /&gt;,&lt;BR /&gt;IF(&lt;BR /&gt;(&lt;BR /&gt;sum( total &amp;lt;brand,affiliate&amp;gt;&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;))))&lt;BR /&gt;) &lt;BR /&gt;/&lt;BR /&gt;sum(total &amp;lt;brand,affiliate&amp;gt; {$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;))))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&amp;gt; kpi_target_r_ou_high&lt;BR /&gt;, &lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;, 0&lt;BR /&gt;)&lt;BR /&gt;,&lt;BR /&gt;IF( GetFieldSelections(display_ou_forecasting) = 'Over Forecasting'&lt;BR /&gt;,&lt;BR /&gt;IF(&lt;BR /&gt;(&lt;BR /&gt;sum( total &amp;lt;brand,affiliate&amp;gt;&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;))))&lt;BR /&gt;) &lt;BR /&gt;/&lt;BR /&gt;sum(total &amp;lt;brand,affiliate&amp;gt; {$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;))))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&amp;lt; kpi_target_r_ou_low&lt;BR /&gt;, &lt;BR /&gt;// FORMULA ################################################################################################&lt;BR /&gt;IF(GetSelectedCount(UOM) = 1 AND GetSelectedCount(LAGS) = 1,&lt;BR /&gt;IF( (&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;= 0 AND&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;&amp;gt; 0,&lt;BR /&gt;'/0', &lt;BR /&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , 123,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , 456,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , 789,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , 354,&lt;BR /&gt;)))) ) &lt;BR /&gt;/&lt;BR /&gt;sum({$&amp;lt;lag_period={ "$(= GetFieldSelections(LAGS))" }&amp;gt;}&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'CEU' , ABC,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Selling' , DEF,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Third' , HIJ,&lt;BR /&gt;IF( GetFieldSelections(UOM) = 'Fourth' , KLM,&lt;BR /&gt;)))) )&lt;BR /&gt;) &lt;BR /&gt;),0)&lt;BR /&gt;// END ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;, 0&lt;BR /&gt;) &lt;BR /&gt;)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;//=$(vO/U KPI %_Forecast_Bias_DFU_Brand&amp;amp;Affiliate)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 04:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-avoid-nested-if-conditions/m-p/2088077#M89187</guid>
      <dc:creator>sunitha_chellaiah</dc:creator>
      <dc:date>2023-06-27T04:50:26Z</dc:date>
    </item>
  </channel>
</rss>

