<?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: How to add an avg distinct function with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845374#M1018536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ramon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying. But this formula gives me the total unique customers for 2014. and gives me value 347.&lt;/P&gt;&lt;P&gt;I am looking for the total average unique customers per month (even when a customer is booking each month). just like my example. the value should be 134 (average of the months 2014 as shown in expression 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 07:12:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-03T07:12:20Z</dc:date>
    <item>
      <title>How to add an avg distinct function with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845372#M1018534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;Dear All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;Could someone please help me with below issue I am facing. &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt; need 4 expressions, but I am not able to succeed with the last one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;I added an attachment with the values and formula's I used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;I do a distinct count on Customer, so it gives me all unique customers per month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;In the 4th expression I want to show the average of these 12 months, so the total average of expression 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;the average over 2014 for all unique customers is 134 (see example). I want to show this as a separate value in my 4th expression, so I can calculate deviations, etc. does anyone have an idea on how to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;Thanks for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-hansi-theme-font: minor-latin; mso-ansi-language: EN-US; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-bidi-theme-font: minor-bidi;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/82794_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845372#M1018534</guid>
      <dc:creator />
      <dc:date>2015-04-02T13:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an avg distinct function with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845373#M1018535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;include a total to you last set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =count(total {&amp;lt;[Commodity]={"Chemicals"}, Year={2014} &amp;gt;} DISTINCT Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 19:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845373#M1018535</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-02T19:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an avg distinct function with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845374#M1018536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ramon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying. But this formula gives me the total unique customers for 2014. and gives me value 347.&lt;/P&gt;&lt;P&gt;I am looking for the total average unique customers per month (even when a customer is booking each month). just like my example. the value should be 134 (average of the months 2014 as shown in expression 3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 07:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845374#M1018536</guid>
      <dc:creator />
      <dc:date>2015-04-03T07:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add an avg distinct function with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845375#M1018537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No offence intended, but wouldn't the average per month be a bit strange to show in a month column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would make a separate chart (Pivot or Straight) to show the years and commodities in and that chart have a column to show the average per year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for a chart like that would be like this:&lt;/P&gt;&lt;P&gt;= avg(aggr(count(distinct Customer), Month, Commodity))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-an-avg-distinct-function-with-set-analysis/m-p/845375#M1018537</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-04-03T14:07:31Z</dc:date>
    </item>
  </channel>
</rss>

