<?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 Limiting data in table since a certain date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282074#M104881</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;Can you please attach the sample file, it helps in fixing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 12:11:14 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2011-12-06T12:11:14Z</dc:date>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282071#M104878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a table which shows a 'profit' column for a particular customer, this is the total profit he/she has gained for all time. This field is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The working expression I have for the 'all time' column is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;GamingTransaction.Flag_Type_Payout={1}}&amp;gt;} GamingTransaction.amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would also like to add an additional field which shows just the profit since Sept 1st 2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, what do I need to add to the expression to limit the returned results to only those GamingTransactions that occurred after Sept 1st 2011? I have a field available 'GamingTransaction.created', which is when the transaction took place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried various things but so far none of them worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 10:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282071#M104878</guid>
      <dc:creator />
      <dc:date>2011-12-06T10:58:02Z</dc:date>
    </item>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282072#M104879</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;GamingTransaction.Flag_Type_Payout={1},&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GamingTransaction.created= &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {'&amp;gt;=$(=(StartDate))'}&amp;gt;}&lt;STRONG&gt;GamingTransaction.amount&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StartDate is a variable which hold your from Date(Sept 1st 2011).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 11:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282072#M104879</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-06T11:48:17Z</dc:date>
    </item>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282073#M104880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me so quickly. The syntax of your expression works fine for me, however the result in the table is a column full of '-' entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine this has something to do with the way I'm setting the StartDate variable. Currently, I have Date(09/01/2011).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct? Or does it depend on how I've formatted dates in the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282073#M104880</guid>
      <dc:creator />
      <dc:date>2011-12-06T12:07:13Z</dc:date>
    </item>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282074#M104881</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;Can you please attach the sample file, it helps in fixing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282074#M104881</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-06T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282075#M104882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file is about 4 gigabytes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a better way to send an exmaple file? Copy the object in question to a new Qlikview document maybe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282075#M104882</guid>
      <dc:creator />
      <dc:date>2011-12-06T12:16:43Z</dc:date>
    </item>
    <item>
      <title>Limiting data in table since a certain date</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282076#M104883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you modify your script and add one new column as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(GamingTransaction.created) AS TransactionDateNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now your expression should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;GamingTransaction.Flag_Type_Payout={1},&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionDateNum = &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {'&amp;gt;=$(=Num((StartDate)))'}&amp;gt;}&lt;STRONG&gt;GamingTransaction.amount&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually I follow this method, if the date is in number format it would be easier to use it in conditions like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 12:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-data-in-table-since-a-certain-date/m-p/282076#M104883</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-06T12:26:30Z</dc:date>
    </item>
  </channel>
</rss>

