<?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 condition or two different charts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653739#M238918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i suggest use hide &amp;amp; enable based on the condition intead of nested if or set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 08:46:11 GMT</pubDate>
    <dc:creator>vinay_hg</dc:creator>
    <dc:date>2014-09-09T08:46:11Z</dc:date>
    <item>
      <title>If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653734#M238913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 if conditions(again the expressions in the if conditions are complex calculations) in an expression and as expected the performance is not good. I am thinking of having three different charts(with calculation condition as well) and enable them whenever required. Can anyone suggest which way is better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 07:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653734#M238913</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-09-09T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653735#M238914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a good solotion, if you divide the expression in different charts performances will improve, just some other ideas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) use set analysis instead of If where you can&lt;/P&gt;&lt;P&gt;2) move elaboration to the script if is possible and use results in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 07:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653735#M238914</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-09-09T07:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653736#M238915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for the reply&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) use set analysis instead of If where you can&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;the expressions inside the ifs already have set analysis&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;let me explain my scenario and suggest me if I can use set analysis....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a list box to show data for the last 1 year, 3 year and 5 years.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;here the value of the field is checked and based on that the appropriate expression from the if will become active.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) move elaboration to the script if is possible and use results in the expression&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As most of the expressions have set analysis... I felt to keep it in the expression itself. &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Cheers,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 08:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653736#M238915</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-09-09T08:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653737#M238916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try using variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign your expression to variable and use them in your chart.. in this way the variable will be calculated only onces.. so if you are using same kind of expression in multiple chart or expression then it is good to have expression saved in variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 08:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653737#M238916</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-09T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653738#M238917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also looking into moving that to a variable. But will I see&amp;nbsp; a noticeable change is the question that comes to my mind, as it can be stored only as a string that should get evaluated at chart level only as it has Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 08:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653738#M238917</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-09-09T08:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: If condition or two different charts</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653739#M238918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i suggest use hide &amp;amp; enable based on the condition intead of nested if or set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 08:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition-or-two-different-charts/m-p/653739#M238918</guid>
      <dc:creator>vinay_hg</dc:creator>
      <dc:date>2014-09-09T08:46:11Z</dc:date>
    </item>
  </channel>
</rss>

