<?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 Grab latest weekend in graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222204#M74887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try Set Analisys:&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;SalesMonth = Month&amp;gt;} SaleAmount)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;SaleWeekEnd = {'$(weekend(monthend(makedate(Year, Month, 1))))'} &amp;gt;} WeekEndValue)&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Feb 2011 00:11:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-19T00:11:45Z</dc:date>
    <item>
      <title>Grab latest weekend in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222202#M74885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date island and a graph that graphs against months. For my equation, the first part is simple:&lt;/P&gt;&lt;P&gt;Sum( if(SalesMonth = Month, SaleAmount, 0))&lt;/P&gt;&lt;P&gt;Next I have a requirement where I need to add a value that is based on the greatest WeekEnd in a month. So each week a value is added for the weekend. Looks like:&lt;/P&gt;&lt;P&gt;DATE WeekEndValue&lt;/P&gt;&lt;P&gt;01/07/2011 1000&lt;/P&gt;&lt;P&gt;01/14/2011 500&lt;/P&gt;&lt;P&gt;01/21/2011 750&lt;/P&gt;&lt;P&gt;01/28/2011 500&lt;/P&gt;&lt;P&gt;02/04/2011 700&lt;/P&gt;&lt;P&gt;02/11/2011 600&lt;/P&gt;&lt;P&gt;So in the graph for Jan i need to grab the 01/21/2011 value and add it to the SalesAmount for that month.&lt;/P&gt;&lt;P&gt;Here's what i've been trying:&lt;/P&gt;&lt;P&gt;Sum( if(SalesMonth = Month, SaleAmount, 0))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum(if(SaleWeekEnd = weekend(monthend(makedate(Year, Month, 1))), WeekEndValue, 0)&lt;/P&gt;&lt;P&gt;Can't seem to get it to work though. Any ideas? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 18:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222202#M74885</guid>
      <dc:creator />
      <dc:date>2011-02-18T18:24:26Z</dc:date>
    </item>
    <item>
      <title>Grab latest weekend in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222203#M74886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone? does it not make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 20:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222203#M74886</guid>
      <dc:creator />
      <dc:date>2011-02-18T20:43:49Z</dc:date>
    </item>
    <item>
      <title>Grab latest weekend in graph</title>
      <link>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222204#M74887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try Set Analisys:&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;SalesMonth = Month&amp;gt;} SaleAmount)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;SaleWeekEnd = {'$(weekend(monthend(makedate(Year, Month, 1))))'} &amp;gt;} WeekEndValue)&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Feb 2011 00:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grab-latest-weekend-in-graph/m-p/222204#M74887</guid>
      <dc:creator />
      <dc:date>2011-02-19T00:11:45Z</dc:date>
    </item>
  </channel>
</rss>

