<?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: Reducing Time Table Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reducing-Time-Table-Data/m-p/722740#M259423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Fact_Sales2:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max([Key Time]) as [Max Time]&lt;/P&gt;&lt;P&gt;Resident Fact_Sales&lt;/P&gt;&lt;P&gt;group by [Sales Div Level 1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMax = peek('Max Time',0,'Fact_Sales2');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD Year, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(QVDPath)Time.qvd (qvd)&lt;/P&gt;&lt;P&gt;where Year &amp;gt;= $(vYearStart)&lt;/P&gt;&lt;P&gt;and Time.[Key Time] &amp;lt;= $(vMax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 08:30:55 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2014-08-06T08:30:55Z</dc:date>
    <item>
      <title>Reducing Time Table Data</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Time-Table-Data/m-p/722739#M259422</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 got a main Table (Fact_Sales) wich is linked via the field [Key Time] to my time dimension table (Time). Both tables are build out of different qvd-files. I am reducing the data of the main Table while loding it's qvd file. Now I want to reduce the time Table to only hold the [Key Time] up to the max([Key Time]) from a group by [Another Field of the Main Table].&lt;/P&gt;&lt;P&gt;Till now I didn't get it going ;-((.&lt;/P&gt;&lt;P&gt;Anyone there that knows how to code it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:Fact_Sales2:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max([Key Time]) as [Max Time]&lt;/P&gt;&lt;P&gt;Resident Fact_Sales&lt;/P&gt;&lt;P&gt;group by [Sales Div Level 1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD Year, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(QVDPath)Time.qvd (qvd)&lt;/P&gt;&lt;P&gt;where Year &amp;gt;= $(vYearStart)&lt;/P&gt;&lt;P&gt;and Time.[Key Time] &amp;lt;= [Max Time];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that dosn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 08:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Time-Table-Data/m-p/722739#M259422</guid>
      <dc:creator />
      <dc:date>2014-08-06T08:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing Time Table Data</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-Time-Table-Data/m-p/722740#M259423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;Fact_Sales2:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max([Key Time]) as [Max Time]&lt;/P&gt;&lt;P&gt;Resident Fact_Sales&lt;/P&gt;&lt;P&gt;group by [Sales Div Level 1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMax = peek('Max Time',0,'Fact_Sales2');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD Year, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;$(QVDPath)Time.qvd (qvd)&lt;/P&gt;&lt;P&gt;where Year &amp;gt;= $(vYearStart)&lt;/P&gt;&lt;P&gt;and Time.[Key Time] &amp;lt;= $(vMax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 08:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-Time-Table-Data/m-p/722740#M259423</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2014-08-06T08:30:55Z</dc:date>
    </item>
  </channel>
</rss>

