<?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 Need to add sales in weekend and show them as it is in WeekDays in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112777#M17521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have a requirement where I need to show WeekDays sales individually and for the WeekEnd I would like to show the sum of that week&lt;/P&gt;&lt;P&gt;as 'Total Week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching a sample and qvw .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2018 08:15:11 GMT</pubDate>
    <dc:creator>kkkumar82</dc:creator>
    <dc:date>2018-07-05T08:15:11Z</dc:date>
    <item>
      <title>Need to add sales in weekend and show them as it is in WeekDays</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112777#M17521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have a requirement where I need to show WeekDays sales individually and for the WeekEnd I would like to show the sum of that week&lt;/P&gt;&lt;P&gt;as 'Total Week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching a sample and qvw .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 08:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112777#M17521</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2018-07-05T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add weekadd sales</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112778#M17522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ can you have a look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 09:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112778#M17522</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2018-07-05T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need to add weekadd sales</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112779#M17523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207205_Capture.PNG" style="height: 45px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Match(WeekDay, 'Sat', 'Sun'), Dual('Total Week', WeekEnd), Date(Date))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount(Concat(WeekDay, ','), 'Sat') &amp;gt; 0 or SubStringCount(Concat(WeekDay, ','), 'Sun') &amp;gt; 0, Aggr(NODISTINCT Sum(Sale), Name, WeekEnd), Sum(Sale))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where WeekEnd if created in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Name, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sale,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) as WeekDay,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Date(Floor(WeekEnd(Date, 0, 0))) as WeekEnd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Praveen.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-add-sales-in-weekend-and-show-them-as-it-is-in-WeekDays/m-p/112779#M17523</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T12:32:28Z</dc:date>
    </item>
  </channel>
</rss>

