<?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: Last value as default in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850230#M1008423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi emma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are probably different ways to do this.&lt;/P&gt;&lt;P&gt;The probably easiest one (I can think of) though is to create a textbox that&lt;/P&gt;&lt;P&gt;- shows the last donation (by date, just use the max(date) function to find out about that)&lt;/P&gt;&lt;P&gt;- is visible only as long as the user has not made any selections&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (use the Getcurrentselections() or Getfieldselections([field]) function to find out about that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 10:06:46 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-05-13T10:06:46Z</dc:date>
    <item>
      <title>Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850228#M1008421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 541px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="23" width="226"&gt;Charity&lt;/TD&gt;&lt;TD class="xl66" width="251"&gt;Amount Collected by Employees&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="23"&gt;Mend Our Mum&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;£58.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="23"&gt;British Heart Foundation&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;£82.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="23"&gt;St. Luke's Hospice&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I would like a text box which states:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Last donation was to 'British Heart Foundation' with a total amount of '£82.39'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;However, when there is a value entered in the spreadsheet&amp;nbsp; for St. Luke's I would like to show that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Therefore ALWAYS showing the last value found but the user still has the ability to make previous selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 09:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850228#M1008421</guid>
      <dc:creator />
      <dc:date>2015-05-13T09:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850229#M1008422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any id field/ Date Field which gives you which one entered last ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for FirstSortedValue() it might help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850229#M1008422</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-05-13T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850230#M1008423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi emma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are probably different ways to do this.&lt;/P&gt;&lt;P&gt;The probably easiest one (I can think of) though is to create a textbox that&lt;/P&gt;&lt;P&gt;- shows the last donation (by date, just use the max(date) function to find out about that)&lt;/P&gt;&lt;P&gt;- is visible only as long as the user has not made any selections&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (use the Getcurrentselections() or Getfieldselections([field]) function to find out about that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850230#M1008423</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-05-13T10:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850231#M1008424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this script where I create a new Column RowNo() as S.No and use that in your text box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RowNo() as S.No,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Charity, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Amount Collected by Employees]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="163806" data-objecttype="1" href="https://community.qlik.com/thread/163806"&gt;https://community.qlik.com/thread/163806&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Box Object's Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Last donation was to ' &amp;amp; Chr(39)&amp;amp; Only({&amp;lt;S.No = {"$(=Max({&amp;lt;[Amount Collected by Employees] = {'*?'}&amp;gt;} S.No))"}&amp;gt;} Charity) &amp;amp; Chr(39) &amp;amp; ' ' &amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 'with a total amount of ' &amp;amp; Chr(39) &amp;amp; Only({&amp;lt;S.No = {"$(=Max({&amp;lt;[Amount Collected by Employees] = {'*?'}&amp;gt;} S.No))"}&amp;gt;} [Amount Collected by Employees]) &amp;amp; Chr(39)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also find attached a sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850231#M1008424</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-13T10:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850232#M1008425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly Sunny - really appreciate your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 11:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850232#M1008425</guid>
      <dc:creator />
      <dc:date>2015-05-13T11:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Last value as default</title>
      <link>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850233#M1008426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 11:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-value-as-default/m-p/850233#M1008426</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-13T11:19:34Z</dc:date>
    </item>
  </channel>
</rss>

