<?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: Help...!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help/m-p/733079#M262657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Distinct with sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension:- REGION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expr1:- Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SALES&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expr2:-&lt;/SPAN&gt; Sum( Aggr( sum(DISTINCT CREDIT),CUSTOMER) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2014 12:33:46 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-08-07T12:33:46Z</dc:date>
    <item>
      <title>Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733069#M262647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have table like below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="257"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl79" height="22" width="72"&gt;REGION&lt;/TD&gt;&lt;TD class="xl80" style="border-left: none;" width="83"&gt;CUSTOMER&lt;/TD&gt;&lt;TD class="xl80" style="border-left: none;" width="54"&gt;CREDIT&lt;/TD&gt;&lt;TD class="xl81" style="border-left: none;" width="48"&gt;SALES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl75" height="21"&gt;A&lt;/TD&gt;&lt;TD class="xl76" style="border-left: none;"&gt;A02&lt;/TD&gt;&lt;TD class="xl77" style="border-left: none;"&gt;2700&lt;/TD&gt;&lt;TD class="xl78" style="border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="22" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A02&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;2700&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A03&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A06&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;2700&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A08&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A08&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="21" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A08&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH03&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH08&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH10&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH10&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4000&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH20&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;1200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="21" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SH20&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;1400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="22" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;SH25&lt;/TD&gt;&lt;TD class="xl73" style="border-top: none; border-left: none;"&gt;3500&lt;/TD&gt;&lt;TD class="xl74" style="border-top: none; border-left: none;"&gt;1600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need output table as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="174"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl71" height="22" width="72"&gt;REGION&lt;/TD&gt;&lt;TD class="xl72" style="border-left: none;" width="54"&gt;CREDIT&lt;/TD&gt;&lt;TD class="xl73" style="border-left: none;" width="48"&gt;SALES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="21"&gt;A&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;"&gt;11400&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;"&gt;2600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl74" height="22" style="border-top: none;"&gt;SH&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;14500&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;6900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solution should be on UI side only... I don't want to handle this on script end...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733069#M262647</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-07T12:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733070#M262648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't it simple summation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim: REGION&lt;/P&gt;&lt;P&gt;First Exp: Sum(CREDIT)&lt;/P&gt;&lt;P&gt;Sec Exp: Sum(SALES)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733070#M262648</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-07T12:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733071#M262649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Dear, Customer is Repeating and hence SUM(Sales) coming right but the Credit also getting counted more than once...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733071#M262649</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-07T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733072#M262650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you be a bit more clear on expected output logic? Is it that you want only the unique amounts to be summed up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733072#M262650</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-07T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733073#M262651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(aggr(sum(distinct CREDIT), CUSTOMER))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733073#M262651</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-07T12:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733074#M262652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the firstsortedvalue function to achieve that. If I understand well, records are repeated by credit, so you need sum of only one of the credit values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733074#M262652</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-07T12:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733075#M262653</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;May be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733075#M262653</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-07T12:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733076#M262654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp; credit is repeating but need to count only once &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733076#M262654</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-07T12:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733077#M262655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dim REGION&lt;/P&gt;&lt;P&gt;Expr1: =sum(aggr(max(CREDIT),CUSTOMER))&lt;/P&gt;&lt;P&gt;Expr2: =sum(SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might need to add a column to identify which credit line to pick for each customer. Now it picks the one with largest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Using max instead of distinct prevents summing two different credit values for the same customer if something is messed up in the data model)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733077#M262655</guid>
      <dc:creator />
      <dc:date>2014-08-07T12:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733078#M262656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63942_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733078#M262656</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-08-07T12:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help...!!</title>
      <link>https://community.qlik.com/t5/QlikView/Help/m-p/733079#M262657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Distinct with sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dimension:- REGION&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expr1:- Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SALES&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expr2:-&lt;/SPAN&gt; Sum( Aggr( sum(DISTINCT CREDIT),CUSTOMER) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help/m-p/733079#M262657</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-08-07T12:33:46Z</dc:date>
    </item>
  </channel>
</rss>

