<?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 WeekDay() working in two documents but not one other in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/WeekDay-working-in-two-documents-but-not-one-other/m-p/176555#M44521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a single QVW document with data only that we load in to other documents with script command:&lt;/P&gt;&lt;P&gt;Binary dataBinary.qvw;&lt;/P&gt;&lt;P&gt;In the dataBinary.qvw file we have a field:&lt;/P&gt;&lt;P&gt;WeekDay(RollupDate) as "Day of Week",&lt;/P&gt;&lt;P&gt;When looking at the "Day of Week" field in databinary.qvw it shows text "Days of Week":&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/Users/jims/AppData/Local/Temp/moz-screenshot-7.png" /&gt;Mon&lt;BR /&gt;Tue&lt;BR /&gt;Wed&lt;BR /&gt;Thu&lt;BR /&gt;Fri&lt;BR /&gt;Sat&lt;BR /&gt;Sun&lt;/P&gt;&lt;P&gt;In two of the documents that we load dataBinary.qvw it also shows text for "Days of Week", which is what we want.&lt;/P&gt;&lt;P&gt;In the third document that we load dataBinary.qvw into it show "Days of Week" as integers:&lt;/P&gt;&lt;P&gt;0&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;/P&gt;&lt;P&gt;All three of the documents have in their scripts:&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;what could be causing the third document to be displaying "Days of Week" as integers? We want the text &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 21:18:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-26T21:18:11Z</dc:date>
    <item>
      <title>WeekDay() working in two documents but not one other</title>
      <link>https://community.qlik.com/t5/QlikView/WeekDay-working-in-two-documents-but-not-one-other/m-p/176555#M44521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a single QVW document with data only that we load in to other documents with script command:&lt;/P&gt;&lt;P&gt;Binary dataBinary.qvw;&lt;/P&gt;&lt;P&gt;In the dataBinary.qvw file we have a field:&lt;/P&gt;&lt;P&gt;WeekDay(RollupDate) as "Day of Week",&lt;/P&gt;&lt;P&gt;When looking at the "Day of Week" field in databinary.qvw it shows text "Days of Week":&lt;/P&gt;&lt;P&gt;&lt;IMG src="file:/C:/Users/jims/AppData/Local/Temp/moz-screenshot-7.png" /&gt;Mon&lt;BR /&gt;Tue&lt;BR /&gt;Wed&lt;BR /&gt;Thu&lt;BR /&gt;Fri&lt;BR /&gt;Sat&lt;BR /&gt;Sun&lt;/P&gt;&lt;P&gt;In two of the documents that we load dataBinary.qvw it also shows text for "Days of Week", which is what we want.&lt;/P&gt;&lt;P&gt;In the third document that we load dataBinary.qvw into it show "Days of Week" as integers:&lt;/P&gt;&lt;P&gt;0&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;5&lt;BR /&gt;6&lt;/P&gt;&lt;P&gt;All three of the documents have in their scripts:&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;what could be causing the third document to be displaying "Days of Week" as integers? We want the text &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 21:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WeekDay-working-in-two-documents-but-not-one-other/m-p/176555#M44521</guid>
      <dc:creator />
      <dc:date>2010-08-26T21:18:11Z</dc:date>
    </item>
    <item>
      <title>WeekDay() working in two documents but not one other</title>
      <link>https://community.qlik.com/t5/QlikView/WeekDay-working-in-two-documents-but-not-one-other/m-p/176556#M44522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm...that's strange. Try enclosing your original date in the date() function. If it's being seen as a num, it's possible that's the problem. So something like: weekday(date(RollupDate)) as [Day of Week]&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 01:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WeekDay-working-in-two-documents-but-not-one-other/m-p/176556#M44522</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-08-27T01:12:21Z</dc:date>
    </item>
  </channel>
</rss>

