<?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 to variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428260#M809043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot have nested aggregations without using the AGGR function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; ] [{set_expression}]expression {, dimension}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;Returns a set of values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; calculated over &lt;SPAN style="font-style: italic;"&gt;dimensions&lt;/SPAN&gt;. The result can be compared to the expression column of a 'local chart', evaluated in the context where the &lt;SPAN class="Bold"&gt;aggr&lt;/SPAN&gt; function resides. Each &lt;SPAN class="Italic"&gt;dimension&lt;/SPAN&gt; must be a single field. It cannot be an expression (calculated dimension). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; qualifier or if no qualifier is used at all, each combination of dimension values will generate only one return value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a &lt;A class="xref_1"&gt;&lt;EM&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt; expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;By using this function in &lt;A class="xref_1"&gt;&lt;EM&gt;Add calculated dimension... &lt;/EM&gt;&lt;/A&gt;it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A class="xref_1"&gt;&lt;EM&gt;Nested Aggregations and Related Issues&lt;/EM&gt;&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;When used in chart expressions it is possible to achieve &lt;A class="MCXref_0" target="" title=""&gt;&lt;EM&gt;Sum of Rows in Pivot Tables&lt;/EM&gt;&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;Examples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( nodistinct sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( sum(Sales), Country, Region ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;count( aggr( sum(Sales), Country ))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Good luck&lt;/P&gt;&lt;P class="Code"&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2017 18:31:14 GMT</pubDate>
    <dc:creator>oscar_ortiz</dc:creator>
    <dc:date>2017-10-10T18:31:14Z</dc:date>
    <item>
      <title>Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428258#M809041</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;I need to use a variable and&amp;nbsp; filter it with set analysis (in a pivot table) and I cant come to how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is the calculation of a metric&lt;STRONG&gt;(Performance&lt;/STRONG&gt;), all the fields of a particular dimension&lt;STRONG&gt; (Product Line)&lt;/STRONG&gt; have one vale of the metric associeted. What i need is to calculate the average performance for 3 specific product lines (A , B , C), the 3 product lines together must be represented with 1 single name 'Total GSS' which its performance= avg(performance A , B, ,C ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The variable is the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vCSAT=sum(TCE_RSLT_METRIC_CSAT_FLAG*if(vWithWeights=1,TCE_RSLT_WEIGHTS,1))/sum(TCE_RSLT_METRIC_CSAT_DSAT_TOTAL_FLAG*if(vWithWeights=1,TCE_RSLT_WEIGHTS,1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;As a dimension I am using:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'GSS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expression:&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;// &lt;/STRONG&gt;This is just a tryal, that is why i am only tring to filter by 1 Product Line. Nevertheless the objective is the descrived above.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;avg({$&amp;lt;Product Line='A'&amp;gt;} $(vCSAT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for you time and help. &lt;/P&gt;&lt;P&gt;If something is not clear just ask it and i will answer asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lluís ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428258#M809041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428259#M809042</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: 13px;"&gt;avg({$&amp;lt;Product Line={'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TCE_RSLT_WEIGHTS&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;={"=$(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCSAT&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} &lt;STRONG&gt;$(vCSAT&lt;/STRONG&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Not sure if the above expression would work&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: 13px;"&gt;You are getting products with A from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(vCSAT&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)???&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428259#M809042</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-10-10T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428260#M809043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot have nested aggregations without using the AGGR function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From help:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;SPAN class="Italic"&gt;[ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; | &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; ] [{set_expression}]expression {, dimension}&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;Returns a set of values of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; calculated over &lt;SPAN style="font-style: italic;"&gt;dimensions&lt;/SPAN&gt;. The result can be compared to the expression column of a 'local chart', evaluated in the context where the &lt;SPAN class="Bold"&gt;aggr&lt;/SPAN&gt; function resides. Each &lt;SPAN class="Italic"&gt;dimension&lt;/SPAN&gt; must be a single field. It cannot be an expression (calculated dimension). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;nodistinct&lt;/SPAN&gt; qualifier, each combination of dimension values may generate more than one return value, depending on underlying data structure. If the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; argument is preceded by the &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; qualifier or if no qualifier is used at all, each combination of dimension values will generate only one return value. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;By default, the aggregation function will aggregate over the set of possible records defined by the selection. An alternative set of records can be defined by a &lt;A class="xref_1"&gt;&lt;EM&gt;Set Analysis&lt;/EM&gt;&lt;/A&gt; expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;By using this function in &lt;A class="xref_1"&gt;&lt;EM&gt;Add calculated dimension... &lt;/EM&gt;&lt;/A&gt;it is possible to achieve nested chart aggregation in multiple levels. See also &lt;A class="xref_1"&gt;&lt;EM&gt;Nested Aggregations and Related Issues&lt;/EM&gt;&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;When used in chart expressions it is possible to achieve &lt;A class="MCXref_0" target="" title=""&gt;&lt;EM&gt;Sum of Rows in Pivot Tables&lt;/EM&gt;&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;Examples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( nodistinct sum(Sales), Country )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;aggr( sum(Sales), Country, Region ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;count( aggr( sum(Sales), Country ))&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Good luck&lt;/P&gt;&lt;P class="Code"&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 18:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428260#M809043</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-10T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428261#M809044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly it is still not working :S. &lt;/P&gt;&lt;P&gt;Yes, vCSAT have values in A if that is what you mean.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428261#M809044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T07:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428262#M809045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some sample data with expected results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe then we can put something together for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428262#M809045</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T12:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428263#M809046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sadly I can not share the data I have as it is from a client of the company where i work. And it comes from a database where i do not have direct access. &lt;/P&gt;&lt;P&gt;Sorry and thanks! If you need it i will explain any doubt about the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428263#M809046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T12:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428264#M809047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you can mock up some fake data to behave similar to the problem you are having.&amp;nbsp; You would never want to put real data on the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then based upon that data explain what the results should be and we can try to help you with your problem.&amp;nbsp; Right now all I can do is guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428264#M809047</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T12:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428265#M809048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the problem you are having is with your variable.&amp;nbsp; The variable acts as a replacement value.&amp;nbsp; If you copy the contents of your variable and paste it into your expression the expression will fail.&amp;nbsp; The reason it fails is because you cannot do a nested aggregation in an expression without using the AGGR.&amp;nbsp; In order to use the AGGR you need to also define at what dimension(s) you want to choose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you may try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;avg({$&amp;lt;Product Line='A'&amp;gt;}&amp;nbsp; Aggr( $(vCSAT), GSS ))&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: 13px;"&gt;&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: 13px;"&gt;But again this is simply a guess at this point.&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: 13px;"&gt;&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: 13px;"&gt;Good luck&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: 13px;"&gt;Oscar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428265#M809048</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T13:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428266#M809049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First create a copy of your original&lt;/P&gt;&lt;P&gt;Then load only top 1000 records from each table&lt;/P&gt;&lt;P&gt;Scramble the data in front end thru Document Properties&amp;gt;Scrambling&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;Upload the qvw here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428266#M809049</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-10-11T13:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428267#M809050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have made an excel with sample data. I give you the excel and the qlik with the table that i can't get working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result that i want is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing only the sum of the metric vCSAT for the three product lines (A,B,C). This sum is called GSS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TCE_RSLT_METRIC_CSAT_DSAT_TOTAL is only counting how many lines have a value for TCE_RSLT_METRIC_CSAT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember the variable: (it is also in the qlik) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vCSAT= sum(TCE_RSLT_METRIC_CSAT_FLAG*if(vWithWeights=1,TCE_RSLT_WEIGHTS,1))/sum(TCE_RSLT_METRIC_CSAT_DSAT_TOTAL_FLAG*if(vWithWeights=1,TCE_RSLT_WEIGHTS,1));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Note that before i said the average, doesn't matter, with one solved i get the other as you know ^^&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428267#M809050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T13:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428268#M809051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not working as GSS is not a dimension.&lt;/P&gt;&lt;P&gt;Thanks and sorry for the confusion! Hope that he new data helps! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428268#M809051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428269#M809052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is correct...&lt;/P&gt;&lt;P&gt;Cus you don't have dimension as ='GSS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to use Product Line as Dimension and added one extra variable &lt;/P&gt;&lt;P&gt;vWidthWeights =1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428269#M809052</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-10-11T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428270#M809053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What should the value of the variable vWithWeights be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428270#M809053</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T13:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428271#M809054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, you don't have a column defined:&amp;nbsp; TCE_RSLT_WEIGHTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should the values of this field be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428271#M809054</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T14:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428272#M809055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is 1 or 0 depending on a button that enables or disable the weight. TCE_RSLT_WEIGHTS is the weight (importance) assoscieted to each product line.&lt;/P&gt;&lt;P&gt;Sorry for not especifing before &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428272#M809055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428273#M809056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That column doesn't exist in your sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428273#M809056</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428274#M809057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, based on the data you provided what should your expected results be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428274#M809057</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T14:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428275#M809058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a value that defines the "importance". &lt;/P&gt;&lt;P&gt;Notice that when the variable vWithWeights=0, this whole column is not used, so it is not relevant for the problem. You can just omit it. &lt;/P&gt;&lt;P&gt;Thanks for your time &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428275#M809058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428276#M809059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="VCSAT QLIK ABC.PNG" class="jive-image image-1" src="/legacyfs/online/179277_VCSAT QLIK ABC.PNG" style="height: auto;" /&gt; This should be the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428276#M809059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428277#M809060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that result based upon the sample data you provided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-variables/m-p/1428277#M809060</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-10-11T14:25:52Z</dc:date>
    </item>
  </channel>
</rss>

