<?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: Choose latest timestamp with trigger not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462696#M172782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That worked. The Timestamp function helped (even without the date formatting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Tom Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 09:17:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-25T09:17:45Z</dc:date>
    <item>
      <title>Choose latest timestamp with trigger not working</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462693#M172779</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;I try to set my latest timestamp as default with a &lt;STRONG&gt;"Select in Field" trigger from a button&lt;/STRONG&gt;. I've seen some posts about the topic, but could not solve my case anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My field is named TAG_TIMESTAMP. I've set Field = TAG_TIMESTAMP and Search String =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TAG_TIMESTAMP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) . &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;But when I click, it doesn't change which&amp;nbsp; TAG_TIMESTAMP that is chosen.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also the enable condition, and that works fine with expression: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TAG_TIMESTAMP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TAG_TIMESTAMP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;). &lt;/SPAN&gt;Both Expressions gives numeric value: 41327,446388889 (when I choose the latest tag in my list box manually).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone got any idea what I could try to make the trigger work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom Arne Sivertsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 12:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462693#M172779</guid>
      <dc:creator />
      <dc:date>2013-02-22T12:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Choose latest timestamp with trigger not working</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462694#M172780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached example file illustrating my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra info: When I disable "Always one seleted", the button action is that it unselects the one tag that I might have selected before... Seems to me that it somewhat cannot find the &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TAG_TIMESTAMP&lt;/SPAN&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;Any help apprecieted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Regard,&lt;/P&gt;&lt;P&gt;Tom Arne Sivertsen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 14:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462694#M172780</guid>
      <dc:creator />
      <dc:date>2013-02-22T14:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Choose latest timestamp with trigger not working</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462695#M172781</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;There are two problems:&lt;/P&gt;&lt;P&gt;1) Max returns just number discarding text representation of TAG_TIMESTAMP.&lt;/P&gt;&lt;P&gt;2) TAG_TIMESTAMP has different text format by default than that is used in listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The right text format works fine for selection (just use this expression in a button action):&lt;/P&gt;&lt;P&gt;=Timestamp(Max({1}TAG_TIMESTAMP),'DD.MM.YYYY hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 16:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462695#M172781</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-02-22T16:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Choose latest timestamp with trigger not working</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462696#M172782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That worked. The Timestamp function helped (even without the date formatting).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Tom Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 09:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-latest-timestamp-with-trigger-not-working/m-p/462696#M172782</guid>
      <dc:creator />
      <dc:date>2013-02-25T09:17:45Z</dc:date>
    </item>
  </channel>
</rss>

