<?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: Delivery vs Sales in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606423#M44910</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The construction of your Qlik data model is quite important - do you have everything in one table or do you have separate tables for Sales and a separate one for Deliveries?&lt;/P&gt;&lt;P&gt;If separate, then it's essential to have a correct field that associates them, like OrderNum or DocumentID.&lt;/P&gt;&lt;P&gt;Then I would suggest to create a simple boolean "flag" field that identifies all orders-items, that were delivered. This can be based on an existing delivery date or some status field - it's highly specific to the logic of your dataset.&lt;/P&gt;&lt;P&gt;With that you then can have a simple expression using SET analysis like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sum( {&amp;lt; ItemIsDelivered_flag = {"TRUE"} &amp;gt;} Sales )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-RADO-&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 09:29:44 GMT</pubDate>
    <dc:creator>RadovanOresky</dc:creator>
    <dc:date>2019-07-26T09:29:44Z</dc:date>
    <item>
      <title>Delivery vs Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606308#M44902</link>
      <description>&lt;P&gt;Hello. Need help.&lt;/P&gt;&lt;P&gt;How to show the sum of sales based on exact items that were delivered.&lt;/P&gt;&lt;P&gt;Like "apple to apple"&amp;nbsp; thing.&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 01:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606308#M44902</guid>
      <dc:creator>chan103148</dc:creator>
      <dc:date>2019-07-26T01:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery vs Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606357#M44908</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Can you brief&amp;nbsp; your requirement with some examples.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 07:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606357#M44908</guid>
      <dc:creator>mahaveerbiraj</dc:creator>
      <dc:date>2019-07-26T07:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery vs Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606403#M44909</link>
      <description>&lt;P&gt;I am not sure if my understanding is right, But if you are looking for getting the sales of a particular item try using set analysis like:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Item={'Apple'}&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606403#M44909</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-07-26T08:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery vs Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606423#M44910</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The construction of your Qlik data model is quite important - do you have everything in one table or do you have separate tables for Sales and a separate one for Deliveries?&lt;/P&gt;&lt;P&gt;If separate, then it's essential to have a correct field that associates them, like OrderNum or DocumentID.&lt;/P&gt;&lt;P&gt;Then I would suggest to create a simple boolean "flag" field that identifies all orders-items, that were delivered. This can be based on an existing delivery date or some status field - it's highly specific to the logic of your dataset.&lt;/P&gt;&lt;P&gt;With that you then can have a simple expression using SET analysis like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sum( {&amp;lt; ItemIsDelivered_flag = {"TRUE"} &amp;gt;} Sales )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-RADO-&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 09:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606423#M44910</guid>
      <dc:creator>RadovanOresky</dc:creator>
      <dc:date>2019-07-26T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delivery vs Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606425#M44911</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have Delivered items in Different column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean how you are defining delivered Items, Attach some sample data please.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 09:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Delivery-vs-Sales/m-p/1606425#M44911</guid>
      <dc:creator>mahaveerbiraj</dc:creator>
      <dc:date>2019-07-26T09:30:01Z</dc:date>
    </item>
  </channel>
</rss>

