<?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: Total Sales Over $500k in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662668#M730306</link>
    <description>&lt;P&gt;try something like below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NUM( SUM( {$&amp;lt; [Pizza Stores Flag] = {'Yes'},Company={"=SUM([Sales]) &amp;gt; 500000"} &amp;gt;} [Sales] ), '$#,##0')

or

NUM( SUM( {$&amp;lt;Company={"=SUM({&amp;lt;[Pizza Stores Flag] = {'Yes'}&amp;gt;}[Sales]) &amp;gt; 500000"} &amp;gt;} [Sales] ), '$#,##0')&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 05 Jan 2020 11:22:39 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-05T11:22:39Z</dc:date>
    <item>
      <title>Total Sales Over $500k</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662654#M730305</link>
      <description>&lt;P&gt;The goal is to create a syntax that will only list the total sales for companies that are over $500k on a bar chart. I have been trying to get this to work but the output is simply not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Syntax which is NOT working:&lt;/P&gt;&lt;P&gt;=&amp;nbsp;NUM( SUM( {$&amp;lt; [Pizza Stores Flag] = {'Yes'}, SUM([Sales]) &amp;gt; 500000 &amp;gt;} [Sales] ), '$#,##0')&lt;/P&gt;&lt;P&gt;Ex: List only companies with sales $500k &amp;gt; that sell PIZZA&lt;/P&gt;&lt;P&gt;- McDonalds = $1.2m&lt;/P&gt;&lt;P&gt;- Domino's Pizza = $2m&lt;/P&gt;&lt;P&gt;- Popeyes = $1m&lt;/P&gt;&lt;P&gt;- Pizza Hut = $200k&lt;/P&gt;&lt;P&gt;- Papa John's Pizza = $600k&lt;/P&gt;&lt;P&gt;Target Output:&lt;/P&gt;&lt;P&gt;- Domino's Pizza ($2m) + Papa John's Pizza ($600k) = $2.6m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know the example might be archaic but I hope you can understand what I am trying to get at.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662654#M730305</guid>
      <dc:creator>win_anthony</dc:creator>
      <dc:date>2024-11-16T19:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Over $500k</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662668#M730306</link>
      <description>&lt;P&gt;try something like below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NUM( SUM( {$&amp;lt; [Pizza Stores Flag] = {'Yes'},Company={"=SUM([Sales]) &amp;gt; 500000"} &amp;gt;} [Sales] ), '$#,##0')

or

NUM( SUM( {$&amp;lt;Company={"=SUM({&amp;lt;[Pizza Stores Flag] = {'Yes'}&amp;gt;}[Sales]) &amp;gt; 500000"} &amp;gt;} [Sales] ), '$#,##0')&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 05 Jan 2020 11:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662668#M730306</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-05T11:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sales Over $500k</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662989#M730307</link>
      <description>&lt;P&gt;In addition to Kush's response, I wanted to give you another area to look for some posts that may be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Specifically, maybe the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully those along with Kush's post will get you what you needed.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 15:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sales-Over-500k/m-p/1662989#M730307</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-06T15:40:31Z</dc:date>
    </item>
  </channel>
</rss>

