<?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: How to write a set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884770#M308553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax looks okay. However, not knowing exactly what you are looking for, it would be a guess work. Could you create a sample qvw and share here explaining the expected output with logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 09:21:27 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-06-01T09:21:27Z</dc:date>
    <item>
      <title>How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884766#M308549</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;Can any one help me on the below scenario, I have I fields like&amp;nbsp; ''sales'', and&amp;nbsp;&amp;nbsp; Store open ,&amp;nbsp; ''Store number", "StoreKEY"" here Store Key has 1,2&amp;nbsp; numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; I want the current period sales when Store Open&amp;gt;15 and exclude the Storenumbers&amp;nbsp; those are having StoreKey 2&amp;nbsp; can any one guide me on the set analysis formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 08:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884766#M308549</guid>
      <dc:creator />
      <dc:date>2015-06-01T08:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884767#M308550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Storeopen = {"&amp;gt;15 "}, Storenumbers -={2} &amp;gt;&amp;nbsp;&amp;nbsp; } Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 08:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884767#M308550</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-06-01T08:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884768#M308551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Not sure if understood right. May be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;[Store number]= &lt;STRONG&gt;E&lt;/STRONG&gt;({1&amp;lt;StoreKEY={2}&amp;gt;} [Store number]), [Store Open]={"&amp;gt;15"}&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 08:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884768#M308551</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-06-01T08:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884769#M308552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran Ch,&amp;nbsp; Tresesco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tresesco: can you please help me on&amp;nbsp; this, if Store open field is not there I need to find it with some expression like&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum({&amp;lt;[Store number]={"=sum({&amp;lt;StoreKey = E({1&amp;lt;StoreKey={'2'}&amp;gt;})&amp;gt;}Sales)&amp;gt;21"}&amp;gt;}Slaes) is this expression correct ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 09:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884769#M308552</guid>
      <dc:creator />
      <dc:date>2015-06-01T09:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884770#M308553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax looks okay. However, not knowing exactly what you are looking for, it would be a guess work. Could you create a sample qvw and share here explaining the expected output with logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 09:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884770#M308553</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-06-01T09:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884771#M308554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresesco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 09:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884771#M308554</guid>
      <dc:creator />
      <dc:date>2015-06-01T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884772#M308555</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;Current Period sales as in Current Calendar Year or month or CurrentFinancial Year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make a variable vYear for the current year or Financial Year (according to your requirement)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression would be :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={'$(vYear)'},StoreOpen={"&amp;gt;(15)"},StoreKey-={2}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 12:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-set-expression/m-p/884772#M308555</guid>
      <dc:creator>ankitaag</dc:creator>
      <dc:date>2015-06-01T12:36:42Z</dc:date>
    </item>
  </channel>
</rss>

