<?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 without weekend in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293364#M108863</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, you are correct, but when checked this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=WeekDay(Today()) in Text object it is displaying Mon. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried =WeekDay(Today())*1, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using QV 9.0 SR2, I don't know whether it is fixed in future versions.&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>Mon, 12 Dec 2011 11:55:02 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2011-12-12T11:55:02Z</dc:date>
    <item>
      <title>weekday without weekend</title>
      <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293360#M108859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dimension in a chart that shows all the weekdays, hence, my dimesion is an expression weekday(Date). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, i only want to display the workdays (Monday, Tuesday, Wednesday, Thursday , Friday). So exlude Saturday and Sunday. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to do? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//A. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 10:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293360#M108859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-12T10:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: weekday without weekend</title>
      <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293361#M108860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try maybe&lt;/P&gt;&lt;P&gt;=if(weekday(Date)&amp;lt;5, weekday(Date) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 10:50:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293361#M108860</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-12T10:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: weekday without weekend</title>
      <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293362#M108861</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;Weekday(Date) returns week in characters like Mon/Tue/Wed etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, use this in you Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(WeekDay(Date) * 1 &amp;lt; 5, WeekDay(Date) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As WeekDay(Date) * 1 return numeric week number like 0,1,2,..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Mon, 12 Dec 2011 11:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293362#M108861</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-12T11:15:52Z</dc:date>
    </item>
    <item>
      <title>weekday without weekend</title>
      <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293363#M108862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the Help says about weekday() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="background-color: #c0c0c0;"&gt;weekday&lt;A name="kanchor472"&gt;&lt;/A&gt;&lt;A name="weekday"&gt;&lt;/A&gt;( &lt;SPAN style="font-style: italic;"&gt;date&lt;/SPAN&gt; )&lt;/H4&gt;&lt;P&gt;Week day. Returns an integer between 0-6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I personally believe it will return a dual, though. Anyway, my above line just works as is for me, limiting the weekdays to Mon-Fri only and displaying the dimension value as text, not numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 11:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293363#M108862</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-12T11:49:48Z</dc:date>
    </item>
    <item>
      <title>weekday without weekend</title>
      <link>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293364#M108863</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, you are correct, but when checked this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=WeekDay(Today()) in Text object it is displaying Mon. then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried =WeekDay(Today())*1, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using QV 9.0 SR2, I don't know whether it is fixed in future versions.&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>Mon, 12 Dec 2011 11:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weekday-without-weekend/m-p/293364#M108863</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-12T11:55:02Z</dc:date>
    </item>
  </channel>
</rss>

