<?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: Show condition for expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806389#M284685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have said is right and i accept if they are some fileds in the data model, say if the filters are some flag fields added and having no relation ship to the data model created, in such scenario which option should do you suggest &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2014 11:17:26 GMT</pubDate>
    <dc:creator>santhosh_k_n</dc:creator>
    <dc:date>2014-11-24T11:17:26Z</dc:date>
    <item>
      <title>Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806381#M284677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which is most suggestible in Chart expression tab, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. having two similar expression with different show conditions &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; or&lt;/P&gt;&lt;P&gt;2. using one expression with a if clause for same conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display a report based on the type of product selected in the filter (Type of filter ={Stationary,Non-stationary})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. two expression sum({Type={stationary} }sales) and sum({Type={Non-stationary} }sales) with show condition enabled for two exp's&lt;/P&gt;&lt;P&gt;2. if(Type=Stationary,sum({Type={stationary} }sales),sum({Type={Non-stationary} }sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 09:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806381#M284677</guid>
      <dc:creator>santhosh_k_n</dc:creator>
      <dc:date>2014-11-24T09:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806382#M284678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend two separate expression with the required show conditions rather than a single with IF statement.&lt;/P&gt;&lt;P&gt;From a performance point of view and easy of maintenance I would think it better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 09:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806382#M284678</guid>
      <dc:creator />
      <dc:date>2014-11-24T09:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806383#M284679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Option 1 for sure. 1 chart, 2 expressions, show / hide each expression based on your filter. Much easier to work out how it works later and maintain / add to if needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 09:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806383#M284679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T09:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806384#M284680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first option is recommended... as it takes less time to evaluate condition and provides the results in short time when compared to the second option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806384#M284680</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-11-24T10:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806385#M284681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe/Richard/Pradeep for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to handle this with more than two conditions and more than one exp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for eg: Type ={Stationary,Non-sationary} and Region_Type={Local,National,International}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exps like = Sum(Sales), Sum(revenue) etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806385#M284681</guid>
      <dc:creator>santhosh_k_n</dc:creator>
      <dc:date>2014-11-24T10:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806386#M284682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u elaborate under what conditions you are showing sum(Sales)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806386#M284682</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-11-24T10:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806387#M284683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep, Please find few conditions &lt;/P&gt;&lt;P&gt;1. Sum({&amp;lt;Type=Stationary,Region_Type=local&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Sum({&amp;lt;Type=Stationary,Region_Type=National&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Sum({&amp;lt;Type=Stationary,Region_Type=International&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806387#M284683</guid>
      <dc:creator>santhosh_k_n</dc:creator>
      <dc:date>2014-11-24T10:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806388#M284684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let me know one thing here ,&lt;/P&gt;&lt;P&gt;if you are selecting a value in listbox and&lt;/P&gt;&lt;P&gt;a chart is there with dim YEAR and Exps are Sum(sales) and Sum( revenue),&lt;/P&gt;&lt;P&gt;based on selections the chart will show the Sales and revenue , here&lt;/P&gt;&lt;P&gt;conditional enabling is not required .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 10:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806388#M284684</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-11-24T10:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806389#M284685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you have said is right and i accept if they are some fileds in the data model, say if the filters are some flag fields added and having no relation ship to the data model created, in such scenario which option should do you suggest &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 11:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806389#M284685</guid>
      <dc:creator>santhosh_k_n</dc:creator>
      <dc:date>2014-11-24T11:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition for expression</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806390#M284686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;if we have CAL YEAR and FIN YEAR&amp;nbsp; then if we want to enable based on the selection then go for&lt;/P&gt;&lt;P&gt;Script level flags like following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L&lt;STRONG&gt;OAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calendar, CAL_FLAG,FIN_FLAG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CAL YEAR,&amp;nbsp;&amp;nbsp; 1,&amp;nbsp; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FIN YEAR ,&amp;nbsp; 0,&amp;nbsp; 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then use the flag values in the expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;YEAR={'CAL YEAR'}&amp;gt;} sales)*CAL_FLAG+sum({&amp;lt;YEAR={'FIN YEAR'}&amp;gt;}sales)*FIN_FLAG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will help you ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 13:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-for-expression/m-p/806390#M284686</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-11-24T13:53:36Z</dc:date>
    </item>
  </channel>
</rss>

