<?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: 'where' statement in a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137800#M907520</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;Sum({&amp;lt;[type]={'D','d'}, [year]={'2016'}&amp;gt;}&amp;nbsp; [amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 09:11:01 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-17T09:11:01Z</dc:date>
    <item>
      <title>'where' statement in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137799#M907519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to make a variable but one of the "where" doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabel [year]&amp;nbsp; contains 2015 and 2016&lt;/P&gt;&lt;P&gt;tabel [type]&amp;nbsp; contains 'D' (deliver) and 'R' (receive)&lt;/P&gt;&lt;P&gt;tabel [amount] contains lines with # items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a variable i want to calculate the amount of [type] in a [year]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i use:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[type]={'D','d'}&amp;gt;}{&amp;lt;[year]={'2016'}&amp;gt;}[amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as result i see the total amount in 2016 but not the amount of &lt;STRONG&gt;deliver&lt;/STRONG&gt; in 2016 (the result is the amount of deliver + receive in 2016).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137799#M907519</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: 'where' statement in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137800#M907520</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;Sum({&amp;lt;[type]={'D','d'}, [year]={'2016'}&amp;gt;}&amp;nbsp; [amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137800#M907520</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-17T09:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: 'where' statement in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137801#M907521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum({&amp;lt;[type]={'D','d'} , [year]={'2016'}&amp;gt;}[amount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137801#M907521</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-06-17T09:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'where' statement in a variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137802#M907522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick respons. Comma makes the difference &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 09:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-statement-in-a-variable/m-p/1137802#M907522</guid>
      <dc:creator />
      <dc:date>2016-06-17T09:24:21Z</dc:date>
    </item>
  </channel>
</rss>

