<?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: Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932152#M958894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be same&lt;/P&gt;&lt;P&gt;=SUM(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 07:28:17 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-11-04T07:28:17Z</dc:date>
    <item>
      <title>Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932150#M958892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;I want to know how do we get the Sum(sales) only for field department ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932150#M958892</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-11-04T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932151#M958893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you elaborate the requirement bit more..!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932151#M958893</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-04T07:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932152#M958894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be same&lt;/P&gt;&lt;P&gt;=SUM(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932152#M958894</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-11-04T07:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932153#M958895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same&lt;/P&gt;&lt;P&gt;Sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yu want for specific department&lt;/P&gt;&lt;P&gt;then it would be&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Department={'DepartmentName'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932153#M958895</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-11-04T07:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932154#M958896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to display the sales value only for a field by name department , &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932154#M958896</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-11-04T07:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932155#M958897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i say Department it is Field name ,&lt;/P&gt;&lt;P&gt;So according to your expression&amp;nbsp; it should display me the sales for the field Department right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Department={'DepartmentName'}&amp;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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932155#M958897</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2015-11-04T07:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932156#M958898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Department={"=sum(Sales)&amp;gt;0"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932156#M958898</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-04T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932157#M958899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes , you should have the Department as&amp;nbsp; Dimension&amp;nbsp; and then in expression you can try like&lt;/P&gt;&lt;P&gt;sum(sales) : to get the sales for all the department&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Department={'A'}&amp;gt;}sales): &lt;SPAN style="font-size: 13.3333px;"&gt;to get the sales for only&amp;nbsp; department &lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;like this you can change the expression accordingly &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 07:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932157#M958899</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-11-04T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932158#M958900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As mentioned by other the standard set analysis should get the answer you want.&lt;/P&gt;&lt;P&gt;I.e. SUM({&amp;lt;Department={1}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I guess it really depends how you data is laid out, I think we are all assuming it is like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you are wanting the sales for say department 1? I.e. 300 in the above example.&lt;/P&gt;&lt;P&gt;Then the set analysis of &lt;SPAN style="font-size: 13.3333px;"&gt;SUM({&amp;lt;Department={1}&amp;gt;}Sales) will return the required value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not correct, could you please supply an example of your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 08:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932158#M958900</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-04T08:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Sales/m-p/932159#M958901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good that you got the answer but actually your question itself was not complete...&lt;/P&gt;&lt;P&gt;Can you check below two expressions and let me know if you are getting any different result !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Department = {"=SUM(Sales) &amp;gt; 0"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 08:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales/m-p/932159#M958901</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-11-04T08:53:29Z</dc:date>
    </item>
  </channel>
</rss>

