<?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 Return of MaxString() doesn't show in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249016#M1184850</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, it worked fine changing "LOAD max(Year_Week)..."&amp;nbsp; to &lt;BR /&gt;"LOAD MaxString(Year_Week)..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2011 10:50:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-17T10:50:41Z</dc:date>
    <item>
      <title>Return of MaxString() doesn't show</title>
      <link>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249014#M1184848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year_Week is a field in my data and I use MaxString({$1}Year_Week) to get the latest year and week the data is updated (for example 2011-40), and shows it in a text object.&lt;BR /&gt;However, when I open the document, the text object is empty, but if I make any selection or just choose Clear when I open the document, the string shows in the text object. The document opens with no selections, have tried to save it with a selection and opened it again, but the same problem occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use MaxString({$}Year_Week) og just MaxString(Year_Week), the string shows when I open the document, but then it will change to the max string for the current selection, and that is not the intention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can the I get the presentation in the text object correct when the document is opened?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 09:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249014#M1184848</guid>
      <dc:creator />
      <dc:date>2011-10-14T09:36:18Z</dc:date>
    </item>
    <item>
      <title>Return of MaxString() doesn't show</title>
      <link>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249015#M1184849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the value does not change until the next reload, you should consider moving the logic to the load scripts. You can load the max of Year_Week to a temp table and then assign it to a variable. Something like this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿M&lt;SPAN style="direction: ltr;"&gt;axYearWeekTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="direction: ltr;"&gt;LOAD max(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Year_Week&lt;/SPAN&gt;) as MaxYearWeek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM table_contain_year_week;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="direction: ltr;"&gt;LET vMaxYearWeek = peek('MaxYearWeek',-1,&lt;/SPAN&gt;&lt;SPAN style="direction: ltr;"&gt;M&lt;/SPAN&gt;&lt;SPAN style="direction: ltr;"&gt;axYearWeekTable&lt;/SPAN&gt;&lt;SPAN style="direction: ltr;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE &lt;SPAN style="direction: ltr;"&gt;M&lt;/SPAN&gt;&lt;SPAN style="direction: ltr;"&gt;axYearWeekTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="direction: ltr;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2011 01:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249015#M1184849</guid>
      <dc:creator />
      <dc:date>2011-10-15T01:02:03Z</dc:date>
    </item>
    <item>
      <title>Return of MaxString() doesn't show</title>
      <link>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249016#M1184850</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, it worked fine changing "LOAD max(Year_Week)..."&amp;nbsp; to &lt;BR /&gt;"LOAD MaxString(Year_Week)..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 10:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Return-of-MaxString-doesn-t-show/m-p/249016#M1184850</guid>
      <dc:creator />
      <dc:date>2011-10-17T10:50:41Z</dc:date>
    </item>
  </channel>
</rss>

