<?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 Last non empty value in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559136#M479899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. I have a requirement to replace nulls with previous not null value.&amp;nbsp; Can you&amp;nbsp; suggest a solution with which we can achieve&lt;BR /&gt;the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options I tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Above&lt;BR /&gt;function: One level is working. Failing with multiple nulls&lt;/P&gt;&lt;P&gt;2. Peek&lt;BR /&gt;function in script level. Fact is having 100M records. Outer join will not be a good solution&lt;/P&gt;&lt;P&gt; Below link will give a clear idea on requirement&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1304"&gt;http://community.qlik.com/docs/DOC-1304&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 05:24:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-07T05:24:20Z</dc:date>
    <item>
      <title>Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559136#M479899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. I have a requirement to replace nulls with previous not null value.&amp;nbsp; Can you&amp;nbsp; suggest a solution with which we can achieve&lt;BR /&gt;the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options I tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Above&lt;BR /&gt;function: One level is working. Failing with multiple nulls&lt;/P&gt;&lt;P&gt;2. Peek&lt;BR /&gt;function in script level. Fact is having 100M records. Outer join will not be a good solution&lt;/P&gt;&lt;P&gt; Below link will give a clear idea on requirement&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1304"&gt;http://community.qlik.com/docs/DOC-1304&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 05:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559136#M479899</guid>
      <dc:creator />
      <dc:date>2014-01-07T05:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559137#M479900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why outer join? The link you provided per se shows a good way without having to use ouetr join I beleive. Am I missing something? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 05:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559137#M479900</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-01-07T05:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559138#M479901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the above case, the best option is handle in the script by using &lt;STRONG&gt;Peek&lt;/STRONG&gt; function. I believe we don't have other choice in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if you have 100M rows fact table, you should implement the Incremental load. So while loading the data from DB table, you can apply your logic on the small data set and store into QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 13:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559138#M479901</guid>
      <dc:creator />
      <dc:date>2014-01-07T13:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559139#M479902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for pointing it out. it is&amp;nbsp; a start schema model. Already fact event has 100M records. Joining with dimension and peek will not be a good solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 05:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559139#M479902</guid>
      <dc:creator />
      <dc:date>2014-01-08T05:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559140#M479903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expression solved my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;[Exp]&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;STRONG&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;ISNULL&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Field&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;[Exp]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;)),MAX( Field))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; color: black; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Courier New'; mso-fareast-font-family: Calibri;"&gt;With Best Regards&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; color: black; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Courier New'; mso-fareast-font-family: Calibri;"&gt;Veena&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 06:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559140#M479903</guid>
      <dc:creator />
      <dc:date>2014-01-08T06:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Last non empty value in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559141#M479904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried this, but for me it just prints the formula if I max(field) is null (comes into the recursive part). If not null, it works fine. I entered following in load script:&lt;/P&gt;&lt;P&gt;Set [Exp] = "IF(isnull(Max(Diff)) or max(diff) = 0,After(([Exp])),Max(Diff))";&lt;/P&gt;&lt;P&gt;And in expression in pivot table I wrote: =$(Exp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where did I go wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-non-empty-value-in-pivot-table/m-p/559141#M479904</guid>
      <dc:creator />
      <dc:date>2014-10-08T12:21:02Z</dc:date>
    </item>
  </channel>
</rss>

