<?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 Conditional Formulas vs If In Formulas in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Formulas-vs-If-In-Formulas/m-p/1329362#M616999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know when you create expressions in a QV chart is better not to use &lt;STRONG&gt;if&lt;/STRONG&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; inside the functions, but what about use it in the definitions to choose between functions? Is it much worse than use the Conditional on the expression and then create various expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TestCond1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163014_TestCond1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Condition2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163015_Condition2.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that int he first choice only tests the condition once per every time the expression has to be calculated. The second one tests it for every entry in a dimension. So, in case that i have a Time dimension Chart with 200 days the second one will calculate 200 times the if, and the fist just once, is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would happen the same if I use the &lt;STRONG&gt;pick()&lt;/STRONG&gt; funcion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 11 May 2017 15:27:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-11T15:27:35Z</dc:date>
    <item>
      <title>Conditional Formulas vs If In Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formulas-vs-If-In-Formulas/m-p/1329362#M616999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know when you create expressions in a QV chart is better not to use &lt;STRONG&gt;if&lt;/STRONG&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; inside the functions, but what about use it in the definitions to choose between functions? Is it much worse than use the Conditional on the expression and then create various expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TestCond1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163014_TestCond1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Condition2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163015_Condition2.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that int he first choice only tests the condition once per every time the expression has to be calculated. The second one tests it for every entry in a dimension. So, in case that i have a Time dimension Chart with 200 days the second one will calculate 200 times the if, and the fist just once, is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would happen the same if I use the &lt;STRONG&gt;pick()&lt;/STRONG&gt; funcion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 11 May 2017 15:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formulas-vs-If-In-Formulas/m-p/1329362#M616999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-11T15:27:35Z</dc:date>
    </item>
  </channel>
</rss>

