<?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: Using Sum and Distinct in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546058#M746301</link>
    <description>&lt;P&gt;Just use this in text box to display the value&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;ID={'ING'},[#of Days to Purchase]={'&amp;gt;=0'}&amp;gt;} [#of Days to Purchase])&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 21:20:04 GMT</pubDate>
    <dc:creator>bharathadde</dc:creator>
    <dc:date>2019-02-18T21:20:04Z</dc:date>
    <item>
      <title>Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546041#M746298</link>
      <description>&lt;P&gt;Hello Community.&lt;/P&gt;&lt;P&gt;I am trying to create an expression that averages the number of days for a product from invoice to purchase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached, I have about 17 products and associated # of Days to Purchase information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am needing to average out the total number of days for the unique product (not considering that it is a duplicate) and divide it by the number of products (17 in this case).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the average formula does not consider the zero values and I found that to be wrong based on our business case. The desired result is 18.75 average for the 16 products that meet this criteria.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help rendered will be truly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546041#M746298</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2024-11-16T04:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546050#M746299</link>
      <description>&lt;P&gt;Hi attached file with a small change on the chart&amp;nbsp;&lt;/P&gt;&lt;P&gt;I switched Average Expression into Average instead of sum, you can find the change in the attachments&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.JPG" style="width: 730px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6277i26BDD0DC764F52B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.JPG" alt="1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546050#M746299</guid>
      <dc:creator>bharathadde</dc:creator>
      <dc:date>2019-02-18T20:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546054#M746300</link>
      <description>&lt;P&gt;Very interesting...&lt;/P&gt;&lt;P&gt;I am getting the result. So, would I also still get the same result if I used the AVG function and changed the Total Mode?&lt;/P&gt;&lt;P&gt;Also, how can I show this in a KPI text object? I am still getting a wrong value&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546054#M746300</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2019-02-18T21:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546058#M746301</link>
      <description>&lt;P&gt;Just use this in text box to display the value&lt;/P&gt;&lt;P&gt;=Avg({&amp;lt;ID={'ING'},[#of Days to Purchase]={'&amp;gt;=0'}&amp;gt;} [#of Days to Purchase])&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546058#M746301</guid>
      <dc:creator>bharathadde</dc:creator>
      <dc:date>2019-02-18T21:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546062#M746302</link>
      <description>&lt;P&gt;Thanks, I will have to play around with it a bit for my specific use case but it seems to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for being prompt my friend!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546062#M746302</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2019-02-18T21:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum and Distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546434#M746303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the attached, I need to show the number of unique products and sum of days to purchase for those unique products in KPI text objects.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the # unique products but I cannot get the number unique # days to purchase.&lt;/P&gt;&lt;P&gt;Any help rendered will be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Sum-and-Distinct-in-Set-Analysis/m-p/1546434#M746303</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2019-02-19T15:17:56Z</dc:date>
    </item>
  </channel>
</rss>

