<?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: create flag for working days and weekends? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755500#M1035501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u Ruben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i am very much satisfied by ur answer ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 12:31:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-08T12:31:48Z</dc:date>
    <item>
      <title>create flag for working days and weekends?</title>
      <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755497#M1035498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi to all&amp;nbsp; i am new in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one clarify me flag creating for working days and weekends.for ur handy i am sharing here "master calender qvd" file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755497#M1035498</guid>
      <dc:creator />
      <dc:date>2015-01-08T12:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: create flag for working days and weekends?</title>
      <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755498#M1035499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the qvd i flagged weekend like this:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WeekDay(Date)&amp;gt;=5, 1, 0) as _IsWeekend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WeekDay(Date)&amp;lt;5, 1, 0) as _IsWorkingDay // Not really needed as you can ask for _IsWeekend=0&lt;/P&gt;&lt;P&gt;FROM [.\Master_Calender.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WeekDay may change from different countries, in mine, 5 are for saturday and 6 for sunday, change it according to your configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you'll need a table that identifies local or national parties to flag as non-working days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755498#M1035499</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-08T12:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: create flag for working days and weekends?</title>
      <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755499#M1035500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's quite easy. You have the WEEKDAY() function in QlikView (when you look that up in the Help_file, you'll get a list of all time- and date-functions, unfortunately all on one page) - that will, if I remember correctly, return a number. Depending on your system, weekends will be 1 and 7 or 6 and 7 - counting from Mon or from Sun.&lt;/P&gt;&lt;P&gt;Just use that in an IF_function to create a binary field with a 1 for weekdays and 0 for weekends.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755499#M1035500</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-08T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: create flag for working days and weekends?</title>
      <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755500#M1035501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u Ruben&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i am very much satisfied by ur answer ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755500#M1035501</guid>
      <dc:creator />
      <dc:date>2015-01-08T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: create flag for working days and weekends?</title>
      <link>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755501#M1035502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-flag-for-working-days-and-weekends/m-p/755501#M1035502</guid>
      <dc:creator />
      <dc:date>2015-01-08T12:32:13Z</dc:date>
    </item>
  </channel>
</rss>

