<?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: Using an Expression stored in a variable in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506818#M751344</link>
    <description>What I want is that if you make some selections in one of the list boxes, and then make some more in others, all of them should reflect in the chart like an 'or' condition, instead of how they become 'and' selections in qlikview by default. So, I wish to see something like if my Customer is somebody, or if the product is something then give me all of them. I hope it is clear now.</description>
    <pubDate>Thu, 15 Nov 2018 05:58:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-15T05:58:04Z</dc:date>
    <item>
      <title>Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506804#M751341</link>
      <description>&lt;P&gt;I have defined a variables &lt;STRONG&gt;vExp &lt;/STRONG&gt;in variable overview&amp;nbsp;as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(distinct 'IF(GetSelectedCount(['&amp;amp;[$Field]&amp;amp;']) &amp;gt; 0, '&amp;amp; chr(39) &amp;amp; '&amp;lt;[' &amp;amp; chr(39) &amp;amp;' &amp;amp; concat(distinct {&amp;lt;[$Field] = {"*"} - {' &amp;amp; chr(39) &amp;amp; [$Field] &amp;amp; chr(39) &amp;amp;'}&amp;gt;} [$Field], ' &amp;amp; chr(39) &amp;amp;']=,[' &amp;amp; chr(39) &amp;amp;') &amp;amp; ' &amp;amp; chr(39) &amp;amp; '] = &amp;gt; + ' &amp;amp; chr(39) &amp;amp;')')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have borrowed this from internet, and I want to do an OR mode between more than two list boxes.&lt;/P&gt;&lt;P&gt;Refer to this link:&amp;nbsp;&lt;A href="http://www.qlikfix.com/2013/10/23/and-or-mode-selections-in-qlikview/" target="_blank"&gt;http://www.qlikfix.com/2013/10/23/and-or-mode-selections-in-qlikview/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think the expression is correct. Now, I wish to use it in a chart like &lt;STRONG&gt;=Sum({$(vExp)} Quantity)&lt;/STRONG&gt;. But for some reason I haven't been able to get this to work. Can anyone help me on this?&lt;/P&gt;&lt;P&gt;I am new to Qlikview and don't have much understanding around how variables work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506804#M751341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506815#M751342</link>
      <description>&lt;P&gt;Could you share your sample app where this can be tested? Also please describe your expected output with logical explanation.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 05:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506815#M751342</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-11-15T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506816#M751343</link>
      <description>&lt;P&gt;Here, I have the list boxes from which i wish to select data. I have got a chart where i want the selections to reflect. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2018 05:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506816#M751343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T05:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506818#M751344</link>
      <description>What I want is that if you make some selections in one of the list boxes, and then make some more in others, all of them should reflect in the chart like an 'or' condition, instead of how they become 'and' selections in qlikview by default. So, I wish to see something like if my Customer is somebody, or if the product is something then give me all of them. I hope it is clear now.</description>
      <pubDate>Thu, 15 Nov 2018 05:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506818#M751344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T05:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506852#M751345</link>
      <description>I presume (since, I can't download Barry's sample app right now) that there is some gap between your approach and what Barry has suggested in his post. I would request you to download his sample app and go through it thoroughly before you attempt to implement in your app. It is imperative to understand what $Field is and how the concat() storing the selected values from fields in variables.</description>
      <pubDate>Thu, 15 Nov 2018 06:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506852#M751345</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-11-15T06:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using an Expression stored in a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506907#M751346</link>
      <description>That is the gap in Barry's post ... A lot of people have been trying to get that solution to work. ..If anyone's been able to implement it completely and obtain 'OR' selections... please share here</description>
      <pubDate>Thu, 15 Nov 2018 08:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-an-Expression-stored-in-a-variable-in-set-analysis/m-p/1506907#M751346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-15T08:02:11Z</dc:date>
    </item>
  </channel>
</rss>

