<?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: Difference between Aggregate Functions in Dimension and Formel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121519#M914225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for me it is more interesting to know, how could i combine SumCent &amp;gt; 0 with this Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( DISTINCT{$ &amp;lt; %CompKey={"=count({&amp;lt; _Launch = {1}&amp;gt;}[BelegID]) = 1"}, _Launch = {1} &amp;gt; } [%CompKey])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to concider SumCent &amp;gt; 0 and _Launch = {1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 14:06:34 GMT</pubDate>
    <dc:creator>arsa6978</dc:creator>
    <dc:date>2016-06-06T14:06:34Z</dc:date>
    <item>
      <title>Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121515#M914221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a question as just a beginner, please take a look at my qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a difference if i put aggr Function in Dimension or in Fomel.&lt;/P&gt;&lt;P&gt;count( DISTINCT{$ &amp;lt; BelegID={"=aggr(COUNT([BelegID]), %KundeID) = 1 "}, _Launch = {1} &amp;gt;} [%KundeID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to get count of customers with 1,2, 3 and more orders after launch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which one is correct? Any why?&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your responses!&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/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121515#M914221</guid>
      <dc:creator>arsa6978</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121516#M914222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have %KundeID that are linked to more than 1 FirmaRef&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;%KundeID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Count(DISTINCT FirmaRef)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;3 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;613567&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;613741&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;614075&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;614130&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to create a composite key made of FirmaRef and %KundeID if you want to count the BelegeID correctly per company in a set modifer advanced search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at attached modified sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 09:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121516#M914222</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-03T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121517#M914223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;it works, thanks!&lt;/P&gt;&lt;P&gt;I need now all Orders with SumCent &amp;gt; 0. How could i do this in Set Analysis?&lt;/P&gt;&lt;P&gt;Please have a look at attached modified sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121517#M914223</guid>
      <dc:creator>arsa6978</dc:creator>
      <dc:date>2016-06-03T14:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121518#M914224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;STRONG&gt;&lt;EM&gt;{&amp;lt;BelegID = {"=Sum(SummeCent)&amp;gt;0"}&amp;gt;}&lt;/EM&gt;&lt;/STRONG&gt; DISTINCT BelegID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 23:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121518#M914224</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-03T23:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121519#M914225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for me it is more interesting to know, how could i combine SumCent &amp;gt; 0 with this Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( DISTINCT{$ &amp;lt; %CompKey={"=count({&amp;lt; _Launch = {1}&amp;gt;}[BelegID]) = 1"}, _Launch = {1} &amp;gt; } [%CompKey])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to concider SumCent &amp;gt; 0 and _Launch = {1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 14:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121519#M914225</guid>
      <dc:creator>arsa6978</dc:creator>
      <dc:date>2016-06-06T14:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121520#M914226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the internal grouping entity for your SumCent &amp;gt;0 comparison?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, if you would need to create a straight table where something like&lt;/P&gt;&lt;P&gt;=If(Sum(SumCent)&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt;would be the expression, what would be the correct dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this &lt;EM&gt;field &lt;/EM&gt;dimension in your set expression with an advanced search&lt;/P&gt;&lt;P&gt;{&amp;lt; FIELD = {"=Sum(SumCent)&amp;gt;0"} &amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121520#M914226</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-06T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121521#M914227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean with advanced search something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( DISTINCT{$ &amp;lt;&amp;nbsp; BelegID = {"=Sum(SumCent)&amp;gt;0"}, %CompKey={"=count({&amp;lt; _Launch = {1}&amp;gt;}[BelegID]) = 1"}, _Launch = {1} &amp;gt; } [%CompKey])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls have a look at customers2 table attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121521#M914227</guid>
      <dc:creator>arsa6978</dc:creator>
      <dc:date>2016-06-06T15:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121522#M914228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe, or if you need to filter the BelegID within the CompKey filtering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( DISTINCT{$ &amp;lt;&amp;nbsp; %CompKey={"=count({&amp;lt; _Launch = {1}, BelegID = {'=Sum(SummeCent)&amp;gt;0'} &amp;gt;}[BelegID]) = 1"}, _Launch = {1} &amp;gt; } [%CompKey])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121522#M914228</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-06T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Aggregate Functions in Dimension and Formel</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121523#M914229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly, thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-Aggregate-Functions-in-Dimension-and-Formel/m-p/1121523#M914229</guid>
      <dc:creator>arsa6978</dc:creator>
      <dc:date>2016-06-06T15:47:14Z</dc:date>
    </item>
  </channel>
</rss>

