<?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 (selection) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712849#M256617</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;Use &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; keyword,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 09:03:21 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2014-10-13T09:03:21Z</dc:date>
    <item>
      <title>Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712847#M256615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this expression-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=Aggr(Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;0&lt;BR /&gt;and&lt;BR /&gt; Aggr(Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula))/Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}BudgetCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;=1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the expression is working!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but i whant that if im making a selection in a field (like PROJECT) The expression will ignor the selection&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how can i do that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712847#M256615</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-10-13T08:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712848#M256616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to check if the &lt;STRONG&gt;Aggr()&lt;/STRONG&gt; within the set is really giving you the expected output. I would be doubly sure of this is right at all. Once you get rid if this aggr(), may be by just including 'PROJECT=' in the max() (probably) that you use in variable &lt;STRONG&gt;vMaxBudgetVersion &lt;/STRONG&gt;definition.&lt;/P&gt;&lt;P&gt;If you are in doubt, try to create a qvw with sample data and share here (and, please don't forget explain your expected output against that data).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 08:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712848#M256616</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-10-13T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712849#M256617</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;Use &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; keyword,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712849#M256617</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-13T09:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712850#M256618</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;i cheked the aggr and its working!&lt;/P&gt;&lt;P&gt;about the -&lt;STRONG&gt; vMaxBudgetVersion &lt;/STRONG&gt;ITS A VARIABLE that contain string not an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i dont think its the solution.&lt;/P&gt;&lt;P&gt;i thought about like the $ (current selection) and 1 (all values)&lt;/P&gt;&lt;P&gt;but i sont know if its possible and if it is so where should it be,...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712850#M256618</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-10-13T09:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712851#M256619</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;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;($(=if(len(getfieldselection(PROJECT))=0,'{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=Aggr(Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;0&lt;BR /&gt;and&lt;BR /&gt; Aggr(Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula))/Sum({&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}BudgetCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;=1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&amp;gt;}','')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;You check if the Project have a selected field, than you give the Setanalysis otherwise it will give back a empty string. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712851#M256619</guid>
      <dc:creator />
      <dc:date>2014-10-13T09:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712852#M256620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tnx,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cam you help me&lt;/P&gt;&lt;P&gt;where should i insert the total?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712852#M256620</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-10-13T09:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712853#M256621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but i want that it will always bring somthing back!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712853#M256621</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-10-13T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712854#M256622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry missunderstanding.&lt;/P&gt;&lt;P&gt;You can use the Set Idetifier 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1&amp;lt;Pro....&amp;gt; Distinct PROJECTS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that every selection will be Ignored ...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712854#M256622</guid>
      <dc:creator />
      <dc:date>2014-10-13T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712855#M256623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I TRIED-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=Aggr(Sum({1&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;0&lt;BR /&gt;and&lt;BR /&gt; Aggr(Sum({1&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}ActualCurrentBook_$(vFinanceFormula))/Sum({1&amp;lt;[BUDGET VERSION]={$(vMaxBudgetVersion)},PROJECT=&amp;gt;}BudgetCurrentBook_$(vFinanceFormula)),PROJECT)&amp;gt;=1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt;&lt;BR /&gt;&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PROJECT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;NOT WORKING =(&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712855#M256623</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-10-13T09:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis (selection)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712856#M256624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May you can provide your QVW, than it would be easier to help ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 09:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-selection/m-p/712856#M256624</guid>
      <dc:creator />
      <dc:date>2014-10-13T09:58:20Z</dc:date>
    </item>
  </channel>
</rss>

