<?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: data comparison on multiple columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85026#M13988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for&amp;nbsp; suggestion but if i try above method, i loose the qty against the Order. Basically i am showing how many qty was ordered and how many delivered.&amp;nbsp; Here the problem is we have the same orderno for both order and return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 09:06:01 GMT</pubDate>
    <dc:creator>vireshkolagimat</dc:creator>
    <dc:date>2018-02-12T09:06:01Z</dc:date>
    <item>
      <title>data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85024#M13986</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;&lt;/P&gt;&lt;P&gt;Please find the attached sample where i have mentioned the input and output data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For orderno 1106200001 the sum(orderedqtyactual) should be 11 but i am getting 22 since it is summing the data for both order and return. I need to show data for order since the complete order got returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use the set analysis to filter based on ORDER_TYPE but if i have any orders with only return as ORDER_TYPE then i will miss that order no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know for any clarifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;VK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 08:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85024#M13986</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-02-12T08:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85025#M13987</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;If you need to show data for orders that have been returned, you can make calculation for Orderno that have a "RETURN" line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( {&amp;lt;ORDER_TYPE={'RETURN'}&amp;gt;}&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;orderedqtyactual)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 08:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85025#M13987</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-12T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85026#M13988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks for&amp;nbsp; suggestion but if i try above method, i loose the qty against the Order. Basically i am showing how many qty was ordered and how many delivered.&amp;nbsp; Here the problem is we have the same orderno for both order and return.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85026#M13988</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-02-12T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85027#M13989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try this on your output table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimensions: &lt;STRONG&gt;ORDERNO, LINE_NO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;STRONG&gt;aggr(sum(ORDERQTYACTUAL),ORDERNO,LINE_NO,ORDER_TYPE)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85027#M13989</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-12T09:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85028#M13990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, yeah it is working fine but what if i have duplicate line_no? can i make use of distinct to get unique Line_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85028#M13990</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-02-12T10:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85029#M13991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have already duplicate Line_no but with different order_type right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with more data and see what you have as an output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85029#M13991</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-12T10:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: data comparison on multiple columns</title>
      <link>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85030#M13992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, will get back to&amp;nbsp; you. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-comparison-on-multiple-columns/m-p/85030#M13992</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2018-02-12T14:06:01Z</dc:date>
    </item>
  </channel>
</rss>

