<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783150#M277281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am having trouble getting the syntax right for set analysis if somebody could help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to return the expression =$(vPriMeasure_1_Value) but only where Dimension DIO is equal to Direct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 16:36:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-13T16:36:25Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783150#M277281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am having trouble getting the syntax right for set analysis if somebody could help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to return the expression =$(vPriMeasure_1_Value) but only where Dimension DIO is equal to Direct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783150#M277281</guid>
      <dc:creator />
      <dc:date>2015-01-13T16:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783151#M277282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is something missing, the value to compute:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;myDimension={'DIO'}&amp;gt;} valueToCompute)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783151#M277282</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-13T16:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783152#M277283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;Try Using the below Expression;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;DIO={'Direct'}&amp;gt;}vPriMeasure_1_Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may modify the Aggregation as per your need.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783152#M277283</guid>
      <dc:creator />
      <dc:date>2015-01-13T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783153#M277284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on current selections, the expression can be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Only({$&amp;lt;DIO={'Direct'}&amp;gt;}vPriMeasure_1_Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783153#M277284</guid>
      <dc:creator>reshmakala</dc:creator>
      <dc:date>2015-01-13T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783154#M277285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ive tried all 3 of the solutions posted and non are working, it just returns a - in the column in the table. Do you because its using a variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783154#M277285</guid>
      <dc:creator />
      <dc:date>2015-01-13T16:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783155#M277286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My solution is not using a variable, you cannot use it in a sum in that way, if Sum is the correct function, the question is what do you want to sum with the condition you have described?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;myDimension={'DIO'}&amp;gt;} valueToCompute)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace myDimension with your dimension and valueToCompute with the value you need to sum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783155#M277286</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-13T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783156#M277287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on the definition of your variable you may need to use the $ expansion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;DIO={'Direct'}&amp;gt;}$(vPriMeasure_1_Value))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is the expression =$(vPriMeasure_1_Value) working without the set analysis?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783156#M277287</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2015-01-13T17:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783157#M277288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately that doesnt work, and yes it does calculate correctly without set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems the expression sum(CD2MAPD_COST) brings back the same value as &lt;STRONG&gt;=$(vPriMeasure_1_Value) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;so ive tried Sum({$ &amp;lt;DIO={'Direct'}&amp;gt;} CD2MAPD_COST) and so far that seems to be working ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for your help - much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 17:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/783157#M277288</guid>
      <dc:creator />
      <dc:date>2015-01-13T17:28:02Z</dc:date>
    </item>
  </channel>
</rss>

