<?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: Sum of Distinct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847576#M531291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, vTat is a variable? and what's the expression of the variable? Maybe this works if vTAT has the same value for the same MAR:&lt;/P&gt;&lt;P&gt;Avg(Aggr(vTAT, MAR))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 11:51:53 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-06-08T11:51:53Z</dc:date>
    <item>
      <title>Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847570#M531285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable named as vTAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to find the sum of vTAT based on DISTINCT MAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vTAT&lt;/P&gt;&lt;P&gt;123454&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1:23&lt;/P&gt;&lt;P&gt;123454&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1:23&lt;/P&gt;&lt;P&gt;123456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4:15&lt;/P&gt;&lt;P&gt;1234566&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5:17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847570#M531285</guid>
      <dc:creator />
      <dc:date>2015-06-08T11:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847571#M531286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a chart with dimension MAR and as expression&lt;/P&gt;&lt;P&gt;=sum(vTAT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or post your expected result..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847571#M531286</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-08T11:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847572#M531287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try&lt;/P&gt;&lt;P&gt;=sum(DISTINCT vTAT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847572#M531287</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-06-08T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847573#M531288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show it in a BAR Chart with Dimension as Date , Expression as Avg of vTAT of DISTINCT MAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847573#M531288</guid>
      <dc:creator />
      <dc:date>2015-06-08T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847574#M531289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;se tis,&lt;/P&gt;&lt;P&gt;tat:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;MAR,vTAT&lt;/P&gt;&lt;P&gt;123454,1:23&lt;/P&gt;&lt;P&gt;123454,1:23&lt;/P&gt;&lt;P&gt;123456,4:15&lt;/P&gt;&lt;P&gt;1234566,5:17&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tat2:&lt;/P&gt;&lt;P&gt;nOCONCATENATE Load MAR,&lt;/P&gt;&lt;P&gt;SUM(vTAT) AS vTAT&lt;/P&gt;&lt;P&gt;resident tat&lt;/P&gt;&lt;P&gt;group by MAR; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table tat;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847574#M531289</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-06-08T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847575#M531290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I want to show it in a BAR Chart with Dimension as Date , Expression as Avg of vTAT of DISTINCT MAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847575#M531290</guid>
      <dc:creator />
      <dc:date>2015-06-08T11:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847576#M531291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, vTat is a variable? and what's the expression of the variable? Maybe this works if vTAT has the same value for the same MAR:&lt;/P&gt;&lt;P&gt;Avg(Aggr(vTAT, MAR))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847576#M531291</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-08T11:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847577#M531292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes vTAT is a Variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847577#M531292</guid>
      <dc:creator />
      <dc:date>2015-06-08T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847578#M531293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Below is the sample data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 479px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="199"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="182"&gt;MAR&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vTAT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2015-04-24&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;150424SCBLAU2SAXXX4495866032&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1:13:41&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2015-04-24&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;150424SCBLAU2SBXXX0123004002&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;63:41:27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2015-04-24&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;150424SCBLAU2SAXXX4495866033&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;65:52:23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2015-04-24&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;150424SCBLAU2SBXXX0123004002&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;63:41:27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2015-04-24&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;150424SCBLAU2SBXXX0123004002&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;P&gt;63:41:27&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Need to find the average of vTAT for DISTINCT MAR using Date as Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Average should be around 43:35:50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847578#M531293</guid>
      <dc:creator />
      <dc:date>2015-06-08T12:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847579#M531294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, using "Avg(Aggr(vTAT, MAR))" returns 43:35:50, PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847579#M531294</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-08T12:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847580#M531295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attachment Missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847580#M531295</guid>
      <dc:creator />
      <dc:date>2015-06-08T12:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847581#M531296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see the "Test.qvw" in the previous post, anyway, I upload it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 12:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847581#M531296</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-08T12:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847582#M531297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Below is my Requirement&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Dimension - &amp;gt; Date&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Need to find the average of Time Diff between EndDate and Start Date for Distinct MAR&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;In the Attached file the average should be 45:35:50&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Note: Source file attached as excel in &lt;A href="https://community.qlik.com/thread/167431"&gt;Distinct Sum&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 13:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Distinct/m-p/847582#M531297</guid>
      <dc:creator />
      <dc:date>2015-06-08T13:08:06Z</dc:date>
    </item>
  </channel>
</rss>

