<?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: Re: Find missing order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753650#M1045102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;If you have a more traditional setup with Customers in one tab and Orders in another you can do it a little bit different. See the attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Nov 2014 20:32:26 GMT</pubDate>
    <dc:creator>morgankejerhag</dc:creator>
    <dc:date>2014-11-15T20:32:26Z</dc:date>
    <item>
      <title>Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753647#M1045096</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;I have a table with fields looks like this:&lt;/P&gt;&lt;P&gt;Customer (Customer number)&lt;/P&gt;&lt;P&gt;Active (Yes or No)&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Order (Ordernumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put these in a chart like the one shown below.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Date&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Customer&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Active&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Order&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123456&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;234567&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014-02-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123456&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014-02-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;234567&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014-03-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123456&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is to have a listbox with the available dates, select a date and the customers active at this date with no orders placed (field blanked in example above) to be shown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 17:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753647#M1045096</guid>
      <dc:creator />
      <dc:date>2014-11-15T17:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753648#M1045098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henrik,&lt;/P&gt;&lt;P&gt;You can have an expression that looks for the missing orders. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Order='',1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just beware that the logical test might need to be different depending on how the data is read from the source. It could be 0, blank, null or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data set is really big it will be better to do the if-statement (without sum) in the script. Then the expression only needs to be sum(MissingOrderFlag) which will be quicker than performing a if-statement for each line in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Morgan Kejerhag&lt;/P&gt;&lt;P&gt;Senior Business Intelligence Consultant&lt;/P&gt;&lt;P&gt;Drake Communication AB, Sweden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 17:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753648#M1045098</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-15T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753649#M1045101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try this, Im a bit unsure about the source if the field of customer is blank also when the order number is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 19:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753649#M1045101</guid>
      <dc:creator />
      <dc:date>2014-11-15T19:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753650#M1045102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;If you have a more traditional setup with Customers in one tab and Orders in another you can do it a little bit different. See the attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 20:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753650#M1045102</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-15T20:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753651#M1045103</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_142289_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71343_QlikCommunity_Thread_142289_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_142289_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71344_QlikCommunity_Thread_142289_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_142289_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71362_QlikCommunity_Thread_142289_Pic5.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_142289_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71360_QlikCommunity_Thread_142289_Pic3.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_142289_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71361_QlikCommunity_Thread_142289_Pic4.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 21:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753651#M1045103</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-15T21:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753652#M1045104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get it to work with the source, first I need to see which customers are active at the specific date and then find out which of theese are missing orders.&lt;/P&gt;&lt;P&gt;I guess it has to be done with a join?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 07:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753652#M1045104</guid>
      <dc:creator />
      <dc:date>2014-11-16T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753653#M1045105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on the data structure. Could you attach a file or send it to me privately?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 07:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753653#M1045105</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-16T07:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753654#M1045106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71366_1.png" style="width: 620px; height: 295px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 10:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753654#M1045106</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-16T10:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753655#M1045107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source for the data is two tables, one with the fields customernumber and status (active yes or no), and the other table with the fields customernumber, ordernumber, date of the order.&lt;/P&gt;&lt;P&gt;What I want is to select a date and see which customers are active and have an order for this date, and which customers do not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 11:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753655#M1045107</guid>
      <dc:creator />
      <dc:date>2014-11-16T11:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Find missing order</title>
      <link>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753656#M1045108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is often tricky to show "what is not there".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be a more elegant solution to it, but attached is a version that prepares the information in the script. You could improve it by removing the synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script we generate lines for each date for each customer - so now there is data selected when we click a date. For each such line we check if it should be a hit (Active, Date &amp;gt;= RegDate and no orderNo).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 15:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-missing-order/m-p/753656#M1045108</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-16T15:29:07Z</dc:date>
    </item>
  </channel>
</rss>

