<?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: excluding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088926#M933031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A solution could be something like this:&lt;/P&gt;&lt;P&gt;Loading the files use a flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current:&lt;/P&gt;&lt;P&gt;LOAD *, 'Current' as Flag From ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD *, 'History' as Flag From ....;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When you show data you will have all informations but if you need only sum from current write:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({$ &amp;lt;Flag={'Current'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 08:55:52 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2016-03-04T08:55:52Z</dc:date>
    <item>
      <title>excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088923#M933028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi qll,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 files from where I am picking the data&lt;/P&gt;&lt;P&gt;1. current file&lt;/P&gt;&lt;P&gt;2.history file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex&lt;/P&gt;&lt;P&gt;current file&lt;/P&gt;&lt;P&gt;customerid ¦ date ¦ Amount invoiced&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25-sep&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;history file&lt;/P&gt;&lt;P&gt;customerid ¦ date ¦ Amount invoiced&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20-sep&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need both data but I do not want to sum of amount invoiced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088923#M933028</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088924#M933029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to understand your Question.&lt;/P&gt;&lt;P&gt;please can you Elaborate bit more or share a case in QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088924#M933029</guid>
      <dc:creator>bohravanraj</dc:creator>
      <dc:date>2016-03-04T08:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088925#M933030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not very clear about your question but I think you can add a new field while loading data to discriminate between historical and current file data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088925#M933030</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-03-04T08:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088926#M933031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A solution could be something like this:&lt;/P&gt;&lt;P&gt;Loading the files use a flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current:&lt;/P&gt;&lt;P&gt;LOAD *, 'Current' as Flag From ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD *, 'History' as Flag From ....;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When you show data you will have all informations but if you need only sum from current write:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({$ &amp;lt;Flag={'Current'}&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088926#M933031</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2016-03-04T08:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088927#M933032</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;Duplicate thread &lt;A href="https://community.qlik.com/thread/207968"&gt;duplicate&lt;/A&gt;‌.&amp;nbsp; Don't create duplicate threads it is difficult to follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that solution not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1 AS NewFlag&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now in set analysis use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({&amp;lt;NewFlag={1}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088927#M933032</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-04T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: excluding</title>
      <link>https://community.qlik.com/t5/QlikView/excluding/m-p/1088928#M933033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raadwiptec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the solution with script and expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression 1: Sum of Amount for History Table record&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Sum ({&amp;lt;Flag_History_Record = {1}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 2: &lt;STRONG style="font-size: 13.3333px;"&gt;Sum of Amount for Current Table record&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;--------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Sum ({&amp;lt;Flag_History_Record -= {1}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Model:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;[Current File]:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; customerid,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp; invoiced&lt;/P&gt;&lt;P&gt;From YourCurrentTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate ([Current File])&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; customerid,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp; invoiced,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 as Flag_History_Record&lt;/P&gt;&lt;P&gt;From YourHistoryTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 10:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/excluding/m-p/1088928#M933033</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-03-04T10:39:07Z</dc:date>
    </item>
  </channel>
</rss>

