<?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: SET expression with variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668489#M473774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 09:08:37 GMT</pubDate>
    <dc:creator>senpradip007</dc:creator>
    <dc:date>2014-10-21T09:08:37Z</dc:date>
    <item>
      <title>SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668485#M473770</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;I need to use set expression with value variable.&lt;/P&gt;&lt;P&gt;I don't know how i can write this formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example i have variable vSALES&lt;/P&gt;&lt;P&gt;it is SALES with documents 1, 2, 3 &lt;/P&gt;&lt;P&gt;&amp;nbsp; sum(&amp;lt;documents = {1,2,3}&amp;gt;}Sales&lt;/P&gt;&lt;P&gt;- sum(&amp;lt;documents = {4}&amp;gt;}Sales&lt;/P&gt;&lt;P&gt;This vSALES &lt;/P&gt;&lt;P&gt;I want to use this vSALES for anather SET &lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;sum(&amp;lt;year = {2014}&amp;gt;}vSALES ???? How to write expression &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668485#M473770</guid>
      <dc:creator />
      <dc:date>2014-10-21T08:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668486#M473771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year={2014}, document={1,2,3}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 08:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668486#M473771</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-10-21T08:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668487#M473772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define &lt;/P&gt;&lt;P&gt;vSALES = documents = {1,2,3}-{4]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use as below&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;vSALES, year = {2014}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668487#M473772</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-21T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668488#M473773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK its good, but i want with variables becouse my formula for sales have o lot of many part and add 2 set in another for this parts it is not good idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668488#M473773</guid>
      <dc:creator />
      <dc:date>2014-10-21T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668489#M473774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668489#M473774</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-10-21T09:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668490#M473775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but real file not, but you can created any file for this situation examples, just i want how use variables in finish set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 09:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668490#M473775</guid>
      <dc:creator />
      <dc:date>2014-10-21T09:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668491#M473776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Expr:&lt;/P&gt;&lt;P&gt;Sum($(vCondition) Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in Variables &lt;/P&gt;&lt;P&gt;vCondition&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8000001907349px;"&gt;{&amp;lt;year={2014}, document={1,2,3}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668491#M473776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668492#M473777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 13.6000003814697px; font-family: inherit;"&gt;sum(&amp;lt;year = {2014}&amp;gt;}$(=vSALES)) How to write expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 13.6000003814697px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668492#M473777</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-10-21T11:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression with variables</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668493#M473778</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: 13.6000003814697px;"&gt;I tried, this is working fine&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: 13.6000003814697px;"&gt;=sum(&amp;lt;year = {2014}&amp;gt;}vSALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 11:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-with-variables/m-p/668493#M473778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T11:22:29Z</dc:date>
    </item>
  </channel>
</rss>

