<?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: How to filter weekend date on chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389888#M145474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of max(Date) you could use today() if you only want to calculate the last 7 workdays from today: sum({&amp;lt;Date={'&amp;gt;=$(=firstworkdate(today(),7))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 18:40:33 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-25T18:40:33Z</dc:date>
    <item>
      <title>How to filter weekend date on chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389886#M145472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to develop a 7 day (only weekday) rolling chart for sales. how to filterout weekend dates on dimension ? any function to handle this or best possible way? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: my chart should display sales for below dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mar 25&lt;/P&gt;&lt;P&gt;Mar 22&lt;/P&gt;&lt;P&gt;Mar 21&lt;/P&gt;&lt;P&gt;Mar 20&lt;/P&gt;&lt;P&gt;Mar 19&lt;/P&gt;&lt;P&gt;Mar 18&lt;/P&gt;&lt;P&gt;mar 15&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 18:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389886#M145472</guid>
      <dc:creator>sr_qlikview</dc:creator>
      <dc:date>2013-03-25T18:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter weekend date on chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389887#M145473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually the best way is to create a field for workdays in the script.&amp;nbsp; If oyu have field Date, for all days, it will be&lt;/P&gt;&lt;P&gt;if(weekday(Date)&amp;lt;5, Date) as WorkDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 18:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389887#M145473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-25T18:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter weekend date on chart</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389888#M145474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of max(Date) you could use today() if you only want to calculate the last 7 workdays from today: sum({&amp;lt;Date={'&amp;gt;=$(=firstworkdate(today(),7))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 18:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-weekend-date-on-chart/m-p/389888#M145474</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-25T18:40:33Z</dc:date>
    </item>
  </channel>
</rss>

