<?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 total value within an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825046#M1018757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore selected salesperson, 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: 13.3333330154419px;"&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, &lt;STRONG&gt;SALESPERSON =&amp;nbsp; &lt;/STRONG&gt;&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 11:39:48 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-03-31T11:39:48Z</dc:date>
    <item>
      <title>Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825042#M1018753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering, I have the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we set filters to a single brand and a single salesperson to generate reports for them. Problem is, in the expression above I want all those setting to be for the correct filters, except I want this expression to show all salespersons. I can't deselect the salesperson, since we have more reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking in the order of: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, SALESPERSON = {1} &amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this obviously doesn't work. If we use &lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, SALESPERSON = {*} &amp;gt;} sales) I still find problems, since it shows only the articles sold for the selected salesperson, not all in total.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Who can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825042#M1018753</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825043#M1018754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A href="https://community.qlik.com/qlik-users/183871"&gt;maartena&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can you share your file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825043#M1018754</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825044#M1018755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not. But the expression isn't rocket science &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Do you have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825044#M1018755</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825045#M1018756</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;You can try this expression.&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;"&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, SALESPERSON =&amp;nbsp; &amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825045#M1018756</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825046#M1018757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore selected salesperson, 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: 13.3333330154419px;"&gt;sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, &lt;STRONG&gt;SALESPERSON =&amp;nbsp; &lt;/STRONG&gt;&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825046#M1018757</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-31T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825047#M1018758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum({&amp;lt;order_type={'order'},document={'bill'},salesperson= &amp;gt;}sale)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825047#M1018758</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825048#M1018759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Worth giving a shot:&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: 13.3333330154419px;"&gt;&lt;BR /&gt;&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: 13.3333330154419px;"&gt;&lt;STRONG&gt;=Sum({&amp;lt;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, SALESPERSON = p(SALESPERSON) &amp;gt;} sales)&lt;/STRONG&gt;&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: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Best,&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: 13.3333330154419px;"&gt;Sunny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825048#M1018759</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825049#M1018760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&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;ORDER_TYPE = {'ORDER'}, DOCUMENT = {'BILL'}, SALESPERSON =&amp;nbsp; &amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825049#M1018760</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-03-31T11:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825050#M1018761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the 5 answers, but they don't do anything else then the one I already posted....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 11:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825050#M1018761</guid>
      <dc:creator />
      <dc:date>2015-03-31T11:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825051#M1018762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maarten what exactly are you trying to achieve? You mentioned getting the total? would you be able to put some sample data down with your expected result? I think you need some kind of TOTAL if you are looking to get a total here or you also might have to consider alternate state depending on your chart's dimension (if it is SALESPERSON).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without some sample input and output, this would be difficult to troubleshoot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825051#M1018762</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-31T12:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using total value within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825052#M1018763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post your ...so that we can check it out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-total-value-within-an-expression/m-p/825052#M1018763</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-03-31T12:03:50Z</dc:date>
    </item>
  </channel>
</rss>

