<?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: Use of Variable in Set Analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844770#M1010039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah - I think see what you mean - sorry - I thought you are calculating the variable only once in the script - but its dynamic on the dashboard level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 00:10:45 GMT</pubDate>
    <dc:creator>danieloberbilli</dc:creator>
    <dc:date>2015-04-29T00:10:45Z</dc:date>
    <item>
      <title>Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844766#M1010031</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 am calculating YES and NO using certain condition and storing in a Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, vYesNo = if ( Avg(Total) - Avg(Actual) &amp;gt; 1 , 'YES' , 'NO')&lt;/P&gt;&lt;P&gt;and using the same variable I have to Count a certain dimension. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count (Materials) where vYesNo = 'YES' (have to use this variable in Set Analysis - HOW?)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Count (Materials) where vYesNo = 'NO' (have to use this variable in Set Analysis - HOW?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Can someone please help here - How to use the variable in Set Analysis?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844766#M1010031</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-28T22:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844767#M1010033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis deals mainly with fields. If you would have a field F1 with the values YES and NO, you could use your variable to control this like&lt;/P&gt;&lt;P&gt;count({&amp;lt;F1={$(vYesNo)}&amp;gt;}&amp;nbsp; Materials)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in your case you wouldnt use set analysis and rather somthing like&lt;/P&gt;&lt;P&gt;count (if($(vYesNo)='YES', Materials)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 23:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844767#M1010033</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-28T23:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844768#M1010035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as, by calculated variable is using Aggregation Function, so using the variable in Count(). is not allowing to do a Nested Aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other help please? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844768#M1010035</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-29T00:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844769#M1010037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you describe a bit more the situation (object/dimension/data)? At the moment, I don't consider this as a nested aggregation but a simple condition resulting in true/false. A nested aggregation would be sth like sum(aggr(count...)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844769#M1010037</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-29T00:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844770#M1010039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah - I think see what you mean - sorry - I thought you are calculating the variable only once in the script - but its dynamic on the dashboard level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844770#M1010039</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-29T00:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844771#M1010040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about&lt;/P&gt;&lt;P&gt;=if($(vYesNo)='YES', count(Materials))&lt;/P&gt;&lt;P&gt;=if($(vYesNo)='NO', count(Materials)) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844771#M1010040</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-29T00:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844772#M1010041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating the variable at script level and using the formula in a Text Object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this has not helped either &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844772#M1010041</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-29T00:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use of Variable in Set Analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844773#M1010042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you should post an example qvw with dummy data and also what result you would expect. &lt;/P&gt;&lt;P&gt;In my case I dont see any problem when creating a dummy by myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 00:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-Variable-in-Set-Analysis/m-p/844773#M1010042</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-04-29T00:37:47Z</dc:date>
    </item>
  </channel>
</rss>

