<?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 How to use a boolean set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327201#M410447</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;I have a table with several quotations made along these years. Each quotation can have zero, one or more revisions.&lt;/P&gt;&lt;P&gt;I need to sum the quotation value by month.&lt;/P&gt;&lt;P&gt;The analysis is based on some criteria:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The key element is the month when the quotation has been sent (field=offer sent by data) (Offer can be prepared in February and then sent in March, so the total has to be summed in March report)&lt;/LI&gt;&lt;LI&gt;Only the last revision (off_rev) has to be used for the total amount. (If off_rev = 0 it is the quotation itself otherwise I take the last valid revision and previous ones are excluded). In case a same quotation starts and is modified within the same month, then this last revision is taken on the total.&lt;/LI&gt;&lt;LI&gt;In case a same quotation starts in a previous month (for instance January) and it has been sent still in a previous month (February) and then this current month (March) it is revised again then I need to exclude it to avoid repetitive sum of same quotation. (As it has been already included in the total of February.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This last point is hard to solve as I can trace the last valid version of quotation (there a field named REV which shows "NO" if it is the last revision) but I do not know how to exclude this same quotation in the next month in case it should be revised and send again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking to the set analysis but I do not know how to set properly the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 09:41:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-03T09:41:27Z</dc:date>
    <item>
      <title>How to use a boolean set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327201#M410447</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;I have a table with several quotations made along these years. Each quotation can have zero, one or more revisions.&lt;/P&gt;&lt;P&gt;I need to sum the quotation value by month.&lt;/P&gt;&lt;P&gt;The analysis is based on some criteria:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The key element is the month when the quotation has been sent (field=offer sent by data) (Offer can be prepared in February and then sent in March, so the total has to be summed in March report)&lt;/LI&gt;&lt;LI&gt;Only the last revision (off_rev) has to be used for the total amount. (If off_rev = 0 it is the quotation itself otherwise I take the last valid revision and previous ones are excluded). In case a same quotation starts and is modified within the same month, then this last revision is taken on the total.&lt;/LI&gt;&lt;LI&gt;In case a same quotation starts in a previous month (for instance January) and it has been sent still in a previous month (February) and then this current month (March) it is revised again then I need to exclude it to avoid repetitive sum of same quotation. (As it has been already included in the total of February.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This last point is hard to solve as I can trace the last valid version of quotation (there a field named REV which shows "NO" if it is the last revision) but I do not know how to exclude this same quotation in the next month in case it should be revised and send again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking to the set analysis but I do not know how to set properly the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 09:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327201#M410447</guid>
      <dc:creator />
      <dc:date>2017-04-03T09:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a boolean set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327202#M410448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please come up with same Excel sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joshua.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 09:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327202#M410448</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2017-04-03T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a boolean set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327203#M410449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is an example created on Excel just to better explain my needs.&lt;/P&gt;&lt;P&gt;Actual spreadsheet is very longer than this so I cannot analyse "by hand"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 11:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-a-boolean-set-analysis/m-p/1327203#M410449</guid>
      <dc:creator />
      <dc:date>2017-04-03T11:34:58Z</dc:date>
    </item>
  </channel>
</rss>

