<?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 Set analysis on null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-on-null/m-p/1072539#M358129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;i have this table below&lt;/P&gt;&lt;P&gt;DATE CREATION = order date&lt;/P&gt;&lt;P&gt;N° commande = order number&lt;/P&gt;&lt;P&gt;Date facture = Invoice date&lt;/P&gt;&lt;P&gt;N°facture = invoice number.&lt;/P&gt;&lt;P&gt;DATEMAX=variable on my maximum invoice date&lt;/P&gt;&lt;P&gt;FLAG= -1 for credit note and 1 for invoice&lt;/P&gt;&lt;P&gt;ASKAPO = product Bookmark&lt;/P&gt;&lt;P&gt;vActualYear= variable setting actual year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113905_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have order not invoiced at all yet (as order 150060394)&lt;/P&gt;&lt;P&gt;I have order invoiced but with an order single line not invoiced (see above last order 150061016 with 2893€ invoiced and 65 € not invoiced).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a real order book without those not invoiced lines. Invoiced status is on the invoice header (partly not invoiced order where an invoice number exists like above order 150061016).65€ not invoiced but order already invoiced with 2893€ invoiced .&lt;/P&gt;&lt;P&gt;above 65€ have no invoice number. Answer = -&lt;/P&gt;&lt;P&gt;- is supposed to be null ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i need : all order that have not been invoiced even partly (my problem) from 01/09/2014 to today minus one year 05/02/2014 (not problem on that last point) in that case = 2865+1869&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression below need to be corrected in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({ASKAPO*&amp;lt;[DATE CREATION]={"&amp;gt;=$(=makedate(vActualYear-1,9,1)) &amp;lt;=$(=makedate(vActualYear,num(month(max([DATEMAX]))),num(day(max([DATEMAX])))))"}&amp;gt;}[CA Net cde]*FLAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 14:50:34 GMT</pubDate>
    <dc:creator>alex59800</dc:creator>
    <dc:date>2016-02-08T14:50:34Z</dc:date>
    <item>
      <title>Set analysis on null</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-on-null/m-p/1072539#M358129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;i have this table below&lt;/P&gt;&lt;P&gt;DATE CREATION = order date&lt;/P&gt;&lt;P&gt;N° commande = order number&lt;/P&gt;&lt;P&gt;Date facture = Invoice date&lt;/P&gt;&lt;P&gt;N°facture = invoice number.&lt;/P&gt;&lt;P&gt;DATEMAX=variable on my maximum invoice date&lt;/P&gt;&lt;P&gt;FLAG= -1 for credit note and 1 for invoice&lt;/P&gt;&lt;P&gt;ASKAPO = product Bookmark&lt;/P&gt;&lt;P&gt;vActualYear= variable setting actual year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113905_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have order not invoiced at all yet (as order 150060394)&lt;/P&gt;&lt;P&gt;I have order invoiced but with an order single line not invoiced (see above last order 150061016 with 2893€ invoiced and 65 € not invoiced).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a real order book without those not invoiced lines. Invoiced status is on the invoice header (partly not invoiced order where an invoice number exists like above order 150061016).65€ not invoiced but order already invoiced with 2893€ invoiced .&lt;/P&gt;&lt;P&gt;above 65€ have no invoice number. Answer = -&lt;/P&gt;&lt;P&gt;- is supposed to be null ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i need : all order that have not been invoiced even partly (my problem) from 01/09/2014 to today minus one year 05/02/2014 (not problem on that last point) in that case = 2865+1869&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression below need to be corrected in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({ASKAPO*&amp;lt;[DATE CREATION]={"&amp;gt;=$(=makedate(vActualYear-1,9,1)) &amp;lt;=$(=makedate(vActualYear,num(month(max([DATEMAX]))),num(day(max([DATEMAX])))))"}&amp;gt;}[CA Net cde]*FLAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 14:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-on-null/m-p/1072539#M358129</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2016-02-08T14:50:34Z</dc:date>
    </item>
  </channel>
</rss>

