<?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 Set analysis with variable not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800497#M535463</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;In the document attached i'm trying to calculate warehouse turnover. I have multiple reminders in table [Likuciai] - one for each quarter.&lt;/P&gt;&lt;P&gt;Also i have stock movement in table [atsargos] (not used yet, just mentioned for the big picture).&lt;/P&gt;&lt;P&gt;User can select multiple quarters, qlikview should caculate remainder at the start of selected interval (not include other selected quarters).&lt;/P&gt;&lt;P&gt;I definied variable vMinQ as min([Metai ketvirtis]). [&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Metai ketvirtis] stands for the combination of Year + quarter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then i wrote set analysis expresion for remainder calculation: Sum( {$&amp;lt;[Metai ketvirtis]={$(=vMinQ)}&amp;gt;} [Likutis.Suma]).&lt;/P&gt;&lt;P&gt;Result = empty set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me with that?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2014 08:43:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-09T08:43:05Z</dc:date>
    <item>
      <title>Set analysis with variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800497#M535463</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;In the document attached i'm trying to calculate warehouse turnover. I have multiple reminders in table [Likuciai] - one for each quarter.&lt;/P&gt;&lt;P&gt;Also i have stock movement in table [atsargos] (not used yet, just mentioned for the big picture).&lt;/P&gt;&lt;P&gt;User can select multiple quarters, qlikview should caculate remainder at the start of selected interval (not include other selected quarters).&lt;/P&gt;&lt;P&gt;I definied variable vMinQ as min([Metai ketvirtis]). [&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Metai ketvirtis] stands for the combination of Year + quarter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then i wrote set analysis expresion for remainder calculation: Sum( {$&amp;lt;[Metai ketvirtis]={$(=vMinQ)}&amp;gt;} [Likutis.Suma]).&lt;/P&gt;&lt;P&gt;Result = empty set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me with that?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800497#M535463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-09T08:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800498#M535464</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;Little = sign does that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/11/24/the-equal-sign"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2014/11/24/the-equal-sign&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at attached application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800498#M535464</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-12-09T08:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800499#M535465</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;Try below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Metai ketvirtis] = {'$(vMinQ)'}&amp;gt;} [Likutis.Suma])&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 Dec 2014 08:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800499#M535465</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-12-09T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800500#M535466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thank you, &lt;A href="https://community.qlik.com/qlik-users/23043"&gt;Ashfaq Mohammed&lt;/A&gt;!&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Adding = sign to the variable definition did help. Expresion was ok &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800500#M535466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-09T08:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with variable not working</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800501#M535467</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;If it answer, Can you close thread by marking it as appropriate answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 04:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-variable-not-working/m-p/800501#M535467</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-12-10T04:54:21Z</dc:date>
    </item>
  </channel>
</rss>

