<?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 Orders with Total Order Value &amp;lt; 1M and Quarter to Quarter comparison in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2513959#M105409</link>
    <description>&lt;P&gt;You can do a search in set analysis like:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;OrderNo={"=sum(Amount)&amp;gt;=1000"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;I have attached an example with three different ways of solving it&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 05:51:31 GMT</pubDate>
    <dc:creator>morgankejerhag</dc:creator>
    <dc:date>2025-04-11T05:51:31Z</dc:date>
    <item>
      <title>Sum Orders with Total Order Value &lt; 1M and Quarter to Quarter comparison</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2513586#M105362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I need to replicate this Excel graph. My data set is Sales Orders.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fvillarr_0-1744144674179.png" style="width: 366px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179470iECC4770FD0A15A3E/image-dimensions/366x171?v=v2" width="366" height="171" role="button" title="fvillarr_0-1744144674179.png" alt="fvillarr_0-1744144674179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm struggling on two issues:&lt;/P&gt;
&lt;P&gt;1- How to calculate the sum of orders lower than 1M. My data set has the orders split by products, so I assume I first need to find the total order value.&lt;/P&gt;
&lt;P&gt;For reference this is the formula I'd use to get the total value of all orders:&lt;BR /&gt;Sum({&amp;lt;[Snapshot Date Type]={'Yesterday','Q4FY2425','Q3FY2425','Q2FY2425','Q1FY2425'}&amp;gt;}[# Net Revenue Spot r.USD])&lt;/P&gt;
&lt;P&gt;And this is one that I tried, but since an order can be in multiple snapshots I get errors. I'd need the total order value in a single quarter.&lt;BR /&gt;Sum({$&amp;lt; [Snapshot Date Type]={'Yesterday','Q4FY2425','Q3FY2425','Q2FY2425','Q1FY2425'},[Order Number]={"=sum({&amp;lt;[Snapshot Date Type]={'Yesterday','Q4FY2425','Q3FY2425','Q2FY2425','Q1FY2425'}&amp;gt;}[# Net Revenue Spot r.USD])&amp;gt;1000000"}&amp;gt;}[# Net Revenue Spot r.USD])&lt;/P&gt;
&lt;P&gt;You can see here how it works fine when an order exists only once, but is broken by the order that goes across two quarters.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fvillarr_0-1744151997720.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179472iCF54E3CF6B8FDD48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fvillarr_0-1744151997720.png" alt="fvillarr_0-1744151997720.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;2- I don't know how to calculate that trend line with the Quarter to Quarter variations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd appreciate any help you can give me.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 22:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2513586#M105362</guid>
      <dc:creator>fvillarr</dc:creator>
      <dc:date>2025-04-08T22:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Orders with Total Order Value &lt; 1M and Quarter to Quarter comparison</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2513959#M105409</link>
      <description>&lt;P&gt;You can do a search in set analysis like:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;OrderNo={"=sum(Amount)&amp;gt;=1000"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;I have attached an example with three different ways of solving it&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 05:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2513959#M105409</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-04-11T05:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Orders with Total Order Value &lt; 1M and Quarter to Quarter comparison</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2514267#M105463</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;Unfortunately I don't own the app and cannot modify the load script. I was hoping to solve it in Set Analysis without building any additional flags or tables in the script.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 13:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-Orders-with-Total-Order-Value-lt-1M-and-Quarter-to-Quarter/m-p/2514267#M105463</guid>
      <dc:creator>fvillarr</dc:creator>
      <dc:date>2025-04-14T13:55:36Z</dc:date>
    </item>
  </channel>
</rss>

