<?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 Data set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-set-analysis/m-p/204107#M505132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give this a try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({1&amp;lt;Calendar.Week={$(=Max(Calendar.Week))},Calendar.CalDate={'&amp;lt;=$(=Calendar.CalDate)'}&amp;gt;} NetSales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I pulled the less than or equal out of the dollar-sign expansion and put the whole Set Modifier in quotes.&lt;/P&gt;&lt;P&gt;The easiest way to test Set Analysis is to put your expression into a chart, but don't give it a label. On the chart, the label for that expression will be the Set Analysis expression with the dollar-sign expansion evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2009 20:47:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-01T20:47:06Z</dc:date>
    <item>
      <title>Data set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-set-analysis/m-p/204106#M505131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i've got this statement:&lt;BR /&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Sum (&lt;BR /&gt; {1&amp;lt;&lt;BR /&gt; Calendar.Week={$(=Max(Calendar.Week))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; NetSales&lt;BR /&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;But now i want to also include the CalDate:&lt;BR /&gt;&lt;BR /&gt;The result has to be the sum of NetSales for the max week but smaller or equal than the day selected&lt;BR /&gt;&lt;BR /&gt;So I thought is was something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;Sum (&lt;BR /&gt; {1&amp;lt;&lt;BR /&gt; Calendar.Week={$(=Max(Calendar.Week))},&lt;BR /&gt;&lt;BR /&gt; Calendar.CalDate={$(&amp;lt;=(Calendar.CalDate))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; NetSales&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;But this aint working correct. &lt;BR /&gt;Can anybody help me?&lt;BR /&gt;&lt;BR /&gt;Tnx in advance&lt;BR /&gt;&lt;BR /&gt;Reyman&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 16:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-set-analysis/m-p/204106#M505131</guid>
      <dc:creator />
      <dc:date>2009-10-01T16:27:58Z</dc:date>
    </item>
    <item>
      <title>Data set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Data-set-analysis/m-p/204107#M505132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give this a try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({1&amp;lt;Calendar.Week={$(=Max(Calendar.Week))},Calendar.CalDate={'&amp;lt;=$(=Calendar.CalDate)'}&amp;gt;} NetSales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I pulled the less than or equal out of the dollar-sign expansion and put the whole Set Modifier in quotes.&lt;/P&gt;&lt;P&gt;The easiest way to test Set Analysis is to put your expression into a chart, but don't give it a label. On the chart, the label for that expression will be the Set Analysis expression with the dollar-sign expansion evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 20:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-set-analysis/m-p/204107#M505132</guid>
      <dc:creator />
      <dc:date>2009-10-01T20:47:06Z</dc:date>
    </item>
  </channel>
</rss>

