<?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 with aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964336#M330682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating variable called guarantee customer&lt;/P&gt;&lt;P&gt;vExpGuaranteecustomers=&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: maroon;"&gt;"sum({$1})"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&amp;gt;}={&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: maroon;"&gt;"&amp;lt;=$2"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;},1,0),CustomerNbr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i am using this variable $(&lt;SPAN style="font-size: 13.3333px;"&gt;vExpGuaranteecustomers(BalanceEur,100000)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its returning 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example a customer has 4 accounts &lt;/P&gt;&lt;P&gt;if he had balance in his accounts less than 100000 he is guarantee customer other wise he is non guarantee customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that i am using aggr function like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(sum(BalanceEur)&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;=100000&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;,1,0),CustomerNbr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;above expression is working correctly how can i make it globally. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;so here balanceEur and 100000 changes country wise i want to make it globalize.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;can you help me in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;Dasaradh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 14:21:35 GMT</pubDate>
    <dc:creator>dasaradh</dc:creator>
    <dc:date>2015-11-23T14:21:35Z</dc:date>
    <item>
      <title>set analysis with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964336#M330682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating variable called guarantee customer&lt;/P&gt;&lt;P&gt;vExpGuaranteecustomers=&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: maroon;"&gt;"sum({$1})"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&amp;gt;}={&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: maroon;"&gt;"&amp;lt;=$2"&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;},1,0),CustomerNbr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i am using this variable $(&lt;SPAN style="font-size: 13.3333px;"&gt;vExpGuaranteecustomers(BalanceEur,100000)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its returning 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example a customer has 4 accounts &lt;/P&gt;&lt;P&gt;if he had balance in his accounts less than 100000 he is guarantee customer other wise he is non guarantee customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that i am using aggr function like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;(sum(BalanceEur)&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;=100000&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;,1,0),CustomerNbr))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;above expression is working correctly how can i make it globally. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;so here balanceEur and 100000 changes country wise i want to make it globalize.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;can you help me in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 9pt; color: black;"&gt;Dasaradh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 14:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964336#M330682</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-11-23T14:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964337#M330683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dasaradh,&lt;/P&gt;&lt;P&gt;you have to create only variable for &lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;sum(BalanceEur) and use that in the expresion it will work as globally.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;use that variable in this instead of &lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;sum(BalanceEur)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(sum(BalanceEur)&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=100000&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,1,0),CustomerNbr))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964337#M330683</guid>
      <dc:creator>mohitd910</dc:creator>
      <dc:date>2015-11-24T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964338#M330684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got ans like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(sum($1)&amp;lt;=$2,1,0),CustomerNbr))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this how can i add another varibale in if clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 10:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-aggr-function/m-p/964338#M330684</guid>
      <dc:creator>dasaradh</dc:creator>
      <dc:date>2015-11-30T10:24:09Z</dc:date>
    </item>
  </channel>
</rss>

