<?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: Exclude only sunday in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121896#M369675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to the suggestion from &lt;A href="https://community.qlik.com/qlik-users/145582"&gt;mindaugasbacius&lt;/A&gt; you could also reverse the logic by creating a flag for a working day&amp;nbsp; to calculate later directly with the flag without the need of set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(weekday(Date) &amp;lt; 5, 1, 0) as Flag_Workingday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then within your objects: sum(AnyValue*Flag_Workingday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 14:48:08 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-05-11T14:48:08Z</dc:date>
    <item>
      <title>Exclude only sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121894#M369673</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;1) how can i calculated the data excluding only sunday's in a year . &lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 13.3333px;"&gt;how can i calculated the data excluding both saturday and&amp;nbsp; sunday's in a year .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 12:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121894#M369673</guid>
      <dc:creator />
      <dc:date>2016-05-11T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude only sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121895#M369674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Make two flags in your load scrip:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(weekday(Date) = 6, 1, 0) as Flag_Sunday&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(weekday(Date) = 5 or &lt;SPAN style="font-size: 13.3333px;"&gt;weekday(Date) = 6&lt;/SPAN&gt;, 1, 0) as Flag_Saturday_Sunday&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And use set analysis in calculations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. Or make Weekday field and use it also in set analysis.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121895#M369674</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-05-11T14:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude only sunday</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121896#M369675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to the suggestion from &lt;A href="https://community.qlik.com/qlik-users/145582"&gt;mindaugasbacius&lt;/A&gt; you could also reverse the logic by creating a flag for a working day&amp;nbsp; to calculate later directly with the flag without the need of set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(weekday(Date) &amp;lt; 5, 1, 0) as Flag_Workingday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then within your objects: sum(AnyValue*Flag_Workingday)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-only-sunday/m-p/1121896#M369675</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-11T14:48:08Z</dc:date>
    </item>
  </channel>
</rss>

