<?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: AND/OR operation in Parameterized Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386240#M512238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes I am agree with you of using simple expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for some business scenarios I am trying to generalize a list of expressions that can be used in multiple dashboard apps. In such use-cases just trying to incorporate the common business requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only the readability of the expressions, but also the performance hit needs to be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 14:34:21 GMT</pubDate>
    <dc:creator>somenathroy</dc:creator>
    <dc:date>2017-11-29T14:34:21Z</dc:date>
    <item>
      <title>AND/OR operation in Parameterized Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386237#M512235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have created a variable as:&lt;/P&gt;&lt;P&gt;vParam=Sum({&amp;lt;$1,$2,$3&amp;gt;+&amp;lt;$4,$5,$6&amp;gt;} Sales_Vol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in one of a chart object, would like to use this variable by passing 1st, 2nd parameter with first set and 4th parameter with second set.&lt;/P&gt;&lt;P&gt;For an example, like to show sales volume of current year having active_ flag = 1 OR sales of last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is to pass these parameters while using in chart expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an work around as:&lt;/P&gt;&lt;P&gt;$(vParam(CY={1},active_flag={1},&lt;SPAN style="font-size: 13.3333px;"&gt;active_flag={1},LY={1}&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To place &lt;SPAN style="font-size: 13.3333px;"&gt;LY={1} in appropriate set, I am using &lt;SPAN style="font-size: 13.3333px;"&gt;active_flag={1} twice. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there any other better approach? If the number of parameters are high, this approach would not be useful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;som&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 10:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386237#M512235</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2017-11-28T10:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: AND/OR operation in Parameterized Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386238#M512236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The below syntax is also working for QV 11.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vParam(CY={1}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,active_flag={1}&lt;/SPAN&gt;,$3,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LY={1}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386238#M512236</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2017-11-28T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: AND/OR operation in Parameterized Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386239#M512237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There maybe use-cases where such parametrized variables have a benefit but as a more general approach it's just dividing the work to two places without reducing the complexity. Rather the opposite will be happens - the readability will be poorer and you get problems if you want to use multiple values or expressions within your parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I would probably just use "simple" expressions which contain all of the conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 15:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386239#M512237</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-11-28T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: AND/OR operation in Parameterized Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386240#M512238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Yes I am agree with you of using simple expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for some business scenarios I am trying to generalize a list of expressions that can be used in multiple dashboard apps. In such use-cases just trying to incorporate the common business requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not only the readability of the expressions, but also the performance hit needs to be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386240#M512238</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2017-11-29T14:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: AND/OR operation in Parameterized Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386241#M512239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case it might be more useful to maintain the variables with their expression-content externally maybe within Excel. Within this posting: &lt;A href="https://community.qlik.com/docs/DOC-14559"&gt;Variables&lt;/A&gt; are several links how this could be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a performance point of view there is no difference if an expression is directly written or if variables contain the expressions (unless the expressions are slightly different - beginning with an equal sign or not, different number of spaces or brakets and so on are creating a different hash of the expressions and they couldn't be cached together).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-OR-operation-in-Parameterized-Set-Analysis/m-p/1386241#M512239</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-11-29T15:22:35Z</dc:date>
    </item>
  </channel>
</rss>

