<?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: Trouble with getting Difference in data over Time. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367045#M829828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considering my data was in a table I found that Inter-Record Functions solved my problem. Hope this information helps anybody in a similar situation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2017 14:11:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-05T14:11:53Z</dc:date>
    <item>
      <title>Trouble with getting Difference in data over Time.</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367042#M829825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, I have a problem where I am trying to create a Chart that shows Total Seat Count, Expired Seat Count, and the New Seat Count from month to month. My data has a Space Status Column, a Seat Count and a Date column that I am pulling data from. I have the first 2 inserted into my table but when I try and insert New I run into trouble.&lt;/P&gt;&lt;P&gt;I have defined 2 variables,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxMonth = Max(Month);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Where Month is defined in the table load by "Month(Date) as Month")&lt;/P&gt;&lt;P&gt;Let vPreviousMonth = Max(Month-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression for 'New' then becomes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Month={$(#vMaxMonth)}&amp;gt;}[Seat Count]) - Sum({$&amp;lt;[Month]={$(#vPreviousMonth)&amp;gt;}[Seat Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is returning all 0's when present in the table, even though there is a monthly change in Seat Count.&lt;/P&gt;&lt;P&gt;Any help is welcome!&lt;/P&gt;&lt;P&gt;Thanks.&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/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367042#M829825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with getting Difference in data over Time.</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367043#M829826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, that by doing:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let vMaxMonth = Max(Month);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;There's no value with this and everything else that depends on it will be Null or 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try something like the attached file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;felipe.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 17:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367043#M829826</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-06-27T17:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with getting Difference in data over Time.</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367044#M829827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Because I am on a Personal edition of QlikView I cannot open that file as it wasn't created by me. If there another way you can show your solution, such as screenshots, that would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Can you briefly explain why vMaxMonth=Max(Month) does no have a value?&lt;/P&gt;&lt;P&gt;Thank you very much for you time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 17:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367044#M829827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-27T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with getting Difference in data over Time.</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367045#M829828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considering my data was in a table I found that Inter-Record Functions solved my problem. Hope this information helps anybody in a similar situation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 14:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-getting-Difference-in-data-over-Time/m-p/1367045#M829828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T14:11:53Z</dc:date>
    </item>
  </channel>
</rss>

