<?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: daynames function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333252#M845780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a mapping load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MappingLoad:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Day, Sequence&lt;/P&gt;&lt;P&gt;MON, 1&lt;/P&gt;&lt;P&gt;TUE, 2&lt;/P&gt;&lt;P&gt;WED, 3&lt;/P&gt;&lt;P&gt;THU, 4&lt;/P&gt;&lt;P&gt;FRI, 5&lt;/P&gt;&lt;P&gt;SAT, 6&lt;/P&gt;&lt;P&gt;SUN, 7&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD DayName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MappingLoad', DayName, Null()) as Sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 19:21:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-03T19:21:19Z</dc:date>
    <item>
      <title>daynames function</title>
      <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333250#M845778</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 am imported data which has a string column which has the days of the week included in it e.g. MON, TUES, WEDS, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I convert on a load so I can sequence them in order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the daynames function mentioned but dont quite understand how it would work in this instance - if at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333250#M845778</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: daynames function</title>
      <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333251#M845779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;ORDER:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;load&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DUAL&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Day&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Order&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DayOfWeek&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;inline&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[ Day,Order &lt;BR /&gt; Monday,0 &lt;BR /&gt; Tuesday,1 &lt;BR /&gt; Thursday,3 &lt;BR /&gt; Friday,4 &lt;BR /&gt; Saturday,5 &lt;BR /&gt; Sunday,6&lt;BR /&gt; Wednesday,2 &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DayOrder.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158758_DayOrder.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333251#M845779</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-04-03T19:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: daynames function</title>
      <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333252#M845780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using a mapping load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MappingLoad:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Day, Sequence&lt;/P&gt;&lt;P&gt;MON, 1&lt;/P&gt;&lt;P&gt;TUE, 2&lt;/P&gt;&lt;P&gt;WED, 3&lt;/P&gt;&lt;P&gt;THU, 4&lt;/P&gt;&lt;P&gt;FRI, 5&lt;/P&gt;&lt;P&gt;SAT, 6&lt;/P&gt;&lt;P&gt;SUN, 7&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD DayName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('MappingLoad', DayName, Null()) as Sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333252#M845780</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-03T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: daynames function</title>
      <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333253#M845781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably have a date field in your data, so use weekday() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;WeekDay(Date) as Day&lt;/P&gt;&lt;P&gt; INLINE [&lt;/P&gt;&lt;P&gt;Date, Orders_nb, owner,foreign&lt;/P&gt;&lt;P&gt;01/04/2017,234,C,0&lt;/P&gt;&lt;P&gt;02/04/2017,300,C,1&lt;/P&gt;&lt;P&gt;03/04/2017,867,B,0&lt;/P&gt;&lt;P&gt;04/04/2017,908,A,0&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sort Day with numeric value&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="117" src="https://community.qlik.com/legacyfs/online/158761_pastedImage_0.png" style="width: 398.571px; height: 117px;" width="399" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333253#M845781</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-04-03T19:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: daynames function</title>
      <link>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333254#M845782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny - just what I needed. Unfortunately I have no dates in my data apart from minutes in the week to determine the day of the week so calculated that before i loaded but didnt think of placing a sequence in it at the same time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 19:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/daynames-function/m-p/1333254#M845782</guid>
      <dc:creator>martin_hamilton</dc:creator>
      <dc:date>2017-04-03T19:56:57Z</dc:date>
    </item>
  </channel>
</rss>

