<?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 Date Comparison in a Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145555#M24247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nigel!. That worked. However, I just added a second dimension to the table, and it didn't work. I added Loan type. How can I make it work with the two dimensions.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimensions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Loan type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expressions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loan Count&lt;/P&gt;&lt;P&gt;Previous Month Loan Count&lt;/P&gt;&lt;P&gt;Difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2009 23:35:56 GMT</pubDate>
    <dc:creator>ttwward</dc:creator>
    <dc:date>2009-06-01T23:35:56Z</dc:date>
    <item>
      <title>Date Comparison in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145553#M24245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to compare the number of records by month to month in a straight table. I would like to show the month's loan count and the previous month loan count, and show the difference, but I can't seem to get the previous month's loan count to calculate. My logic is if the cycle date is 1 month less than the current cycle then count the loan id.&lt;/P&gt;&lt;P&gt;I have...&lt;/P&gt;&lt;P&gt;As Dimensions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;expressions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Loan count&lt;/STRONG&gt; = Count (LOAN_ID)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous Month Loan Count&lt;/STRONG&gt; = Count (if(num(month(CYCLE_DATE)) - 1, LOAN_ID))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Difference =&lt;/STRONG&gt; Previous Month Loan Count - Loan count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Trina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 22:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145553#M24245</guid>
      <dc:creator>ttwward</dc:creator>
      <dc:date>2009-06-01T22:03:31Z</dc:date>
    </item>
    <item>
      <title>Date Comparison in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145554#M24246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Best thing to use in this case in the Above() function.&lt;/P&gt;&lt;P&gt;EG:&lt;/P&gt;&lt;P&gt;Previous Month = Above(Count(LOAN_ID))&lt;/P&gt;&lt;P&gt;Difference = Above(Count(LOAN_ID)) - Count(LOAN_ID)&lt;/P&gt;&lt;P&gt;I tried it here on a small sample and it worked fine.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 22:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145554#M24246</guid>
      <dc:creator />
      <dc:date>2009-06-01T22:56:27Z</dc:date>
    </item>
    <item>
      <title>Date Comparison in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145555#M24247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nigel!. That worked. However, I just added a second dimension to the table, and it didn't work. I added Loan type. How can I make it work with the two dimensions.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimensions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Loan type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expressions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loan Count&lt;/P&gt;&lt;P&gt;Previous Month Loan Count&lt;/P&gt;&lt;P&gt;Difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 23:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145555#M24247</guid>
      <dc:creator>ttwward</dc:creator>
      <dc:date>2009-06-01T23:35:56Z</dc:date>
    </item>
    <item>
      <title>Date Comparison in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145556#M24248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Trina&lt;/P&gt;&lt;P&gt;I'm really not too sure on this one, it might now be better for you to add a new post for this (people tend to mark certain posts as read and therefore don't revist them), so probably best to put in a new one based on your new requirements. I'll continue to work on your example to see if I can find a solution, and I'll of course let you know if I find one.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 14:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Comparison-in-a-Straight-Table/m-p/145556#M24248</guid>
      <dc:creator />
      <dc:date>2009-06-02T14:34:36Z</dc:date>
    </item>
  </channel>
</rss>

