<?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: Aggr function within Valueloop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36107#M6107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also look here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;Q-Tip # 14 – AGGR() and Synthetic Dimensions | Natural Synergies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 15:46:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-15T15:46:59Z</dc:date>
    <item>
      <title>Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36105#M6105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Balanced Score Card Dashboard in QV12 using the Valueloop function. This allows me to enter the data cell by cell.&lt;/P&gt;&lt;P&gt;All works well except for one calculation that uses an aggregation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(AGGR(&lt;/P&gt;&lt;P&gt;IF((sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar))}, CLPeriode={$(=Max(CLPeriode))} &amp;gt;} OmzetKlant.Bedrag)-&lt;/P&gt;&lt;P&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar)-1)}, CLPeriode={$(=Max(CLPeriode))}&amp;gt;} OmzetKlant.Bedrag)*1.03))&lt;/P&gt;&lt;P&gt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar))},CLPeriode={$(=Max(CLPeriode))} &amp;gt;}OmzetKlant.Bedrag)-&lt;/P&gt;&lt;P&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar)-1)}, CLPeriode={$(=Max(CLPeriode))}&amp;gt;} OmzetKlant.Bedrag)*1.03))&lt;/P&gt;&lt;P&gt;,0), OmzetKlant_KlantID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function calulates which customers have a growth of over 3% in turnover; the ones that do, their growth is summarized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function works great as an expression within a regular table, but it returns 0 in my BSC table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My workaround is creating a text box and positioning this on top of the correct cell of the BSC Dashboard, but that looks poor as positioning with QV and Accesspoint differ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have suggestions for a formula that I can use in my BSC Dashboard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 14:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36105#M6105</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-15T14:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36106#M6106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SUM(AGGR(&lt;SPAN style="color: #ff0000;"&gt;NODISTINCT&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;IF((sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar))}, CLPeriode={$(=Max(CLPeriode))} &amp;gt;} OmzetKlant.Bedrag)-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar)-1)}, CLPeriode={$(=Max(CLPeriode))}&amp;gt;} OmzetKlant.Bedrag)*1.03))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;gt;0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar))},CLPeriode={$(=Max(CLPeriode))} &amp;gt;}OmzetKlant.Bedrag)-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({1&amp;lt;OmzetKlant_ArtGrID-={9976,9961,9962,9963,9964,9966,9974,9975},OmzetKlant_VertegenwoordigerID={21,22,26,28}, CLJaar = {$(=Max(CLJaar)-1)}, CLPeriode={$(=Max(CLPeriode))}&amp;gt;} OmzetKlant.Bedrag)*1.03))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;,0), OmzetKlant_KlantID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 15:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36106#M6106</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-15T15:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36107#M6107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also look here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;Q-Tip # 14 – AGGR() and Synthetic Dimensions | Natural Synergies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 15:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36107#M6107</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-15T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36108#M6108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, adding NODISTINCT or DISTINCT to the formula do display a result in the table. The results are different though, so I have to investigate more thoroughly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 06:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36108#M6108</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-17T06:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36109#M6109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - very useful documentation! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 06:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36109#M6109</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-17T06:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36110#M6110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having nothing after Aggr( is equivalent of having DISTINCT in there... Did adding DISTINCT also helped show the results? or did just NODISTINCT help? I would think the NODISTINCT will change the results and DISTINCT won't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 08:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36110#M6110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36111#M6111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct. &lt;SPAN style="font-size: 13.3333px;"&gt;Adding DISTINCT did not make a difference. &lt;/SPAN&gt;Adding NODISTINCT gave a result in the table but the number was too high.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 09:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36111#M6111</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-17T09:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36112#M6112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be an alternate way to solve your problem... are you able to share a sample to check this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 10:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36112#M6112</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36113#M6113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, let me see what I can do to anonimize the data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36113#M6113</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-17T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36114#M6114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here if you need help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36114#M6114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36115#M6115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I have attached an example. The table shows 3 lines:&lt;/P&gt;&lt;P&gt;- line 1 shows aggr function that shows correct result&lt;/P&gt;&lt;P&gt;- line 2 s&lt;SPAN style="font-size: 13.3333px;"&gt;hows aggr function that shows incorrect result (0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;- line 3 &lt;SPAN style="font-size: 13.3333px;"&gt; shows aggr function that shows incorrect result based on nodistinct&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have also added a text object that returns the correct result.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 06:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36115#M6115</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-24T06:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36116#M6116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I have answer for why this doesn't work with ValueLoop, but you can try with an Island table. I add this table your dashboard using binary load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD RowNo() as Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;AutoGenerate 5;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now use Dim as dimension rather than using ValueLoop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/203351_Capture.PNG" style="height: 424px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 09:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36116#M6116</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36117#M6117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. Looks like an easy approach. I don't understand why the first line of the original table shows a different number now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the Dim dimension and replaced the valueloop() with Dim in my actual app. I'm not getting it to work though, it still returns a 0. Did I miss anythihng?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 11:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36117#M6117</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-24T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36118#M6118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you add Dim to Aggr()'s dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 11:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36118#M6118</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T11:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36119#M6119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the trick! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 11:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36119#M6119</guid>
      <dc:creator>coengiesberts</dc:creator>
      <dc:date>2018-05-24T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function within Valueloop</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36120#M6120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, because ValueLoop is not a real dimension... it can't be added to Aggr() and that is why Dim works and ValueLoop doesn't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 11:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-function-within-Valueloop/m-p/36120#M6120</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T11:55:12Z</dc:date>
    </item>
  </channel>
</rss>

