<?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 text sheet object - with date expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223309#M75843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i want to add a text sheet object with a concatenation of text and date. the date is to be returned by an expression that gets the most recent date from a field. I have created a script that works but the date format comes out in numeric format not date.&lt;/P&gt;&lt;P&gt;e.g. my text object script:&lt;/P&gt;&lt;P style="font-style: italic"&gt;='Aged Debtors Report for ' &amp;amp; max( {1} [Sort Date])&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Aged Debtors Report for 40367&lt;/P&gt;&lt;P&gt;And it should be&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Aged Debtors Report for 08/07/2010&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;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 56pt;" width="75"&gt;&lt;COL style="width: 56pt;" width="75" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15pt; width: 56pt;" width="75"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jul 2010 10:06:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-14T10:06:12Z</dc:date>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223309#M75843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i want to add a text sheet object with a concatenation of text and date. the date is to be returned by an expression that gets the most recent date from a field. I have created a script that works but the date format comes out in numeric format not date.&lt;/P&gt;&lt;P&gt;e.g. my text object script:&lt;/P&gt;&lt;P style="font-style: italic"&gt;='Aged Debtors Report for ' &amp;amp; max( {1} [Sort Date])&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Aged Debtors Report for 40367&lt;/P&gt;&lt;P&gt;And it should be&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Aged Debtors Report for 08/07/2010&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;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 56pt;" width="75"&gt;&lt;COL style="width: 56pt;" width="75" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD align="right" class="xl63" height="20" style="height: 15pt; width: 56pt;" width="75"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223309#M75843</guid>
      <dc:creator />
      <dc:date>2010-07-14T10:06:12Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223310#M75844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a text object and in the text field type in&lt;/P&gt;&lt;P&gt;='&lt;B&gt;Aged Debtors Report for' &amp;amp; today() which will reurn the date everytime it is opened or try&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;='&lt;/B&gt;Aged Debtors Report for' &amp;amp; date(()DD/MM/YYYY)&lt;/P&gt;&lt;P style="font-weight: bold"&gt;maybe?&lt;/P&gt;&lt;P style="font-weight: bold"&gt;just guessing here sorry&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223310#M75844</guid>
      <dc:creator />
      <dc:date>2010-07-14T10:11:14Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223311#M75845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following code:&lt;/P&gt;&lt;P&gt;='Aged Debtors Report for ' &amp;amp; date( max( {1} [Sort date]),'DD/MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223311#M75845</guid>
      <dc:creator />
      <dc:date>2010-07-14T10:46:01Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223312#M75846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi the folloiwng script worked fine, many thanks.&lt;/P&gt;&lt;P style="font-style: italic"&gt;='Aged Debtors Report for ' &amp;amp; max( Date([Sort Date]))&lt;/P&gt;&lt;P&gt;I was also wondeirng if you might know the answer to the following. If i wanted to add a value from another field called '&lt;B&gt;additional days&lt;/B&gt;' to the &lt;B&gt;max( Date([Sort Date]&lt;/B&gt; to get a &lt;B&gt;final date&lt;/B&gt; to display in the text object how could i do this?&lt;/P&gt;&lt;P&gt;&lt;B&gt;e.g.&lt;/B&gt; if the script&lt;/P&gt;&lt;P style="font-style: italic"&gt;='Aged Debtors Report for ' &amp;amp; max( Date([Sort Date]))&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P&gt;Aged Debtors Report for 08/07/2010&lt;/P&gt;&lt;P&gt;and i wanted toamend script to lets say&lt;/P&gt;&lt;P&gt;&lt;I&gt;='Aged Debtors Report for ' &amp;amp; max( Date([Sort Date])) + &lt;B&gt;additional days&lt;/B&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;that would hopefully return (if additional days = 4) the following&lt;/P&gt;&lt;P&gt;Aged Debtors Report for 12/07/2010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223312#M75846</guid>
      <dc:creator />
      <dc:date>2010-07-14T10:58:26Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223313#M75847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;='Aged Debtors Report for ' &amp;amp; Date( (num(max([Sort Date]) )+ num([&lt;B&gt;additional days])),'DD/MM/YYYY')&lt;/B&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223313#M75847</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-14T11:28:05Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223314#M75848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This script&lt;/P&gt;&lt;P style="font-style: italic"&gt;='Aged Debtors Report for - ' &amp;amp; Date( (num(max([Sort Date]) )+ num([Days Outstanding])),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Aged Debtors Report for -&lt;/P&gt;&lt;P&gt;Therefore no date is displayed now. The &lt;B&gt;Sort date&lt;/B&gt; field is a date and the &lt;B&gt;days outstanding&lt;/B&gt; field is a number.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 11:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223314#M75848</guid>
      <dc:creator />
      <dc:date>2010-07-14T11:45:15Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223315#M75849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes that is the reason i used num(). Anyways try removing num from both the feilds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;='Aged Debtors Report for - ' &amp;amp; Date( (max([Sort Date]) + [Days Outstanding]),'DD/MM/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;='Aged Debtors Report for - ' &amp;amp; Date( (max([Sort Date]) + num([Days Outstanding])),'DD/MM/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223315#M75849</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-14T12:13:35Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223316#M75850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi many thanks but both these dont work.&lt;/P&gt;&lt;P&gt;I never knew it would be so difficult adding days to a date field.&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223316#M75850</guid>
      <dc:creator />
      <dc:date>2010-07-14T12:21:48Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223317#M75851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there may be one set of brackets too many in that last expression. Try:&lt;/P&gt;&lt;P&gt;='Aged Debtors Report for - ' &amp;amp; Date(Max([Sort Date]) + [Days Outstanding],'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;or perhaps the following if you need the NUM() function before [Days Oustanding]:&lt;/P&gt;&lt;P&gt;='Aged Debtors Report for - ' &amp;amp; Date(Max([Sort Date]) + Num([Days Outstanding]),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223317#M75851</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-07-14T12:47:56Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223318#M75852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;='Aged Debtors Report for - ' &amp;amp; Date( (max([Sort Date]) + num([Days Outstanding]),'DD/MM/YYYY')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;yup one bracket was extra. Try this now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223318#M75852</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-14T12:52:50Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223319#M75853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi both these expression still dont produce the disired result. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 12:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223319#M75853</guid>
      <dc:creator />
      <dc:date>2010-07-14T12:55:38Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223320#M75854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not without looking at your qvw file &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223320#M75854</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-07-14T13:01:31Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223321#M75855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think this syntax will work&lt;/P&gt;&lt;P&gt;=&lt;B&gt;date&lt;/B&gt;((&lt;B&gt;today&lt;/B&gt;()) + 4,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223321#M75855</guid>
      <dc:creator />
      <dc:date>2010-07-14T13:04:20Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223322#M75856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that the Days Outstanding is a Field. So it is a set which cannot be evaluated with a single value . That is the reason it is not working. If you have a list box of Days Outstanding on your sheet then select a value in that list box. Then you will get the answer in the text box.&lt;/P&gt;&lt;P&gt;If you want to add a single value from the feild Days Outstanding then please clarify what is the value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223322#M75856</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-14T13:10:23Z</dc:date>
    </item>
    <item>
      <title>text sheet object - with date expression</title>
      <link>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223323#M75857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also try creating a variable to use in the expression. Like Syed said - we would need to now what the Days Outstanding value is all about.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 14:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/text-sheet-object-with-date-expression/m-p/223323#M75857</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-07-14T14:14:11Z</dc:date>
    </item>
  </channel>
</rss>

