<?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 Analysis with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490139#M555932</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a another table which will have project wise Budget, Actual and the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then link that with your project Master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 11:07:10 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2013-07-17T11:07:10Z</dc:date>
    <item>
      <title>Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490134#M555927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 120 projects, I want to count the number of projects which are within budget. The sum is calculated as follows: Sum(Budget) - sum(Actuals)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought to make a set analysis in which a created a variable for the calculation of the difference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt; '$(vProjectResult)' = {'&amp;gt;0'}&amp;gt;} [Project ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But whatever I try I can't get the variable to work in that place (I tried all kinds of quotes, brackets etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, is this possible to create and if so how?&lt;/P&gt;&lt;P&gt;And if not what would be the best way for me to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490134#M555927</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-07-17T10:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490135#M555928</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;Did you try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({&amp;lt;$(=vProjectResult) = {'&amp;gt;0'}&amp;gt;} [Project ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490135#M555928</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-07-17T10:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490136#M555929</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;Thanks for the reply Jonathan.&lt;/P&gt;&lt;P&gt;I did try that as well, but no luck.&lt;/P&gt;&lt;P&gt;Any other options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490136#M555929</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-07-17T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490137#M555930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If its possible for you to create a new field in script which will be Budget - Actuals&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then it will be easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All you need is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count({&amp;lt;Amount= {'&amp;gt;0'}&amp;gt;} [Project ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490137#M555930</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-17T10:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490138#M555931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea!&lt;/P&gt;&lt;P&gt;My budget and Actuals come from 2 different sources though. How can I create one field in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490138#M555931</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-07-17T11:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490139#M555932</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a another table which will have project wise Budget, Actual and the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then link that with your project Master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490139#M555932</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-17T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490140#M555933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created all the tables and added the expression to calculate the difference, but it says it is an invalid expression: &lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[2013 Budget]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[2014 Budget]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[2012 Budget]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EACRem&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ProjectResult &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490140#M555933</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-07-17T11:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490141#M555934</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;&lt;STRONG&gt;Count(if(vProjectResult &amp;gt;0, [Project ID]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;$(=vProjectResult) = {"&amp;gt;0"}&amp;gt;} [Project ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-variable/m-p/490141#M555934</guid>
      <dc:creator />
      <dc:date>2013-07-17T11:15:27Z</dc:date>
    </item>
  </channel>
</rss>

