<?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: Pulling a text string based on the date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385181#M143859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this:&lt;BR /&gt;=only({&amp;lt;date_activity={"$=(date(today()))"}&amp;gt;} quote)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 17:41:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-09-06T17:41:27Z</dc:date>
    <item>
      <title>Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385180#M143858</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 table in my load script that has text strings associated with each date in the year. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column 2&lt;BR /&gt;date_activity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quote&lt;BR /&gt;01/01/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Four score and seven years ago..."&lt;/P&gt;&lt;P&gt;01/02/2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "We have nothing to fear..."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea I'm trying to accomplish is to display, in a Text Box, the quote associated with Today's Date. If I use the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maxstring(quote)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the quote associated with the last day of the filtered time period. I don't want the quote and expression to be altered by any filters; I always want the Text Box to display Today's quote based on Today's date. Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, in advance, for your help!&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 17:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385180#M143858</guid>
      <dc:creator />
      <dc:date>2012-09-06T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385181#M143859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this:&lt;BR /&gt;=only({&amp;lt;date_activity={"$=(date(today()))"}&amp;gt;} quote)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 17:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385181#M143859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-06T17:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385182#M143860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you're on the right track. Our "date" fields are a bit odd here, but I think if I play around with your expression above long enough, I'll get there. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385182#M143860</guid>
      <dc:creator />
      <dc:date>2012-09-06T18:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385183#M143861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If maxstring(quote) was working for you except for selections, try adding set to it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maxstring({1} quote)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should ignore all selections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385183#M143861</guid>
      <dc:creator />
      <dc:date>2012-09-06T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385184#M143862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That formula returns the last “quote” in my list; I want the expression to give me the “quote” associated with Today. Good idea though!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385184#M143862</guid>
      <dc:creator />
      <dc:date>2012-09-06T18:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385185#M143863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Combining both, and adding date format:&lt;/P&gt;&lt;P&gt;=only({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;date_activity={"$=(date(today()&lt;STRONG&gt;,'MM/DD/YYYY'&lt;/STRONG&gt;))"}&amp;gt;} quote)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set expression are especially "format-sensitive".&amp;nbsp; I'm showing it here only as example, understanding that it could be quite different in your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385185#M143863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-06T18:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a text string based on the date</title>
      <link>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385186#M143864</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;Hope attached file helps you.&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;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pulling-a-text-string-based-on-the-date/m-p/385186#M143864</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-09-06T18:39:14Z</dc:date>
    </item>
  </channel>
</rss>

