<?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 SET ANALYSIS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167208#M38870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the only thing you need is to set the format to result of the expressions inside the value definitions.&lt;/P&gt;&lt;P&gt;This one takes care of that:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({$&amp;lt;DATA_EMISSAO = {"&amp;gt;=($(=Date(MonthStart(AddMonths(today(),Meses)), 'DD/MM/YYYY')))&amp;lt;($(=Date(MonthsEnd(1,Today(),Meses), 'DD/MM/YYYY')))" } &amp;gt;} QUANTIDADE)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Mike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 19:22:25 GMT</pubDate>
    <dc:creator>mike_garcia</dc:creator>
    <dc:date>2011-01-12T19:22:25Z</dc:date>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167202#M38864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I need to add the value of a field with date restriction.&lt;BR /&gt;&lt;BR /&gt;I am using SET ANALYSIS, I'm not getting more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DATA_EMISSAO = {'01/12/2010'} &amp;gt;} QUANTIDADE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;To my result even better, I need to date is as follows:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; = 01.12.2010 &amp;lt;01.01.2011&lt;BR /&gt;&lt;BR /&gt;If anyone can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 18:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167202#M38864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T18:27:19Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167203#M38865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Two things you need to check:&lt;/P&gt;&lt;P&gt;- The Date format you assign to the Field Value definition in the Set Expression has to be exactly the same as the field is defined in the whole document. If it is DD/MM/YYY, don't use MM/DD/YYYY or DD.MM.YYYY.&lt;/P&gt;&lt;P&gt;- Try using double quotes instead of single quotes. If you are defining an interval with start and end date, the double quotes are mandatory, since it has to be defined as a Search String (double quotes = search string ; single quotes = literal value).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 18:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167203#M38865</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2011-01-12T18:34:23Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167204#M38866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would you set this in analiysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 18:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167204#M38866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T18:47:04Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167205#M38867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;DATA_EMISSAO = {"&amp;gt;=(MonthStart(AddMonths(today(),(Meses))))&amp;lt;(MonthsEnd(1,Today(),(Meses)))" } &amp;gt;} QUANTIDADE)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthStart(AddMonths(today(),(Meses))) = 01/12/2010&lt;/P&gt;&lt;P&gt;MonthsEnd(1,Today(),(Meses)) = 31/12/2010&lt;/P&gt;&lt;P&gt;My problem is that she is not bringing results.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 18:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167205#M38867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T18:59:15Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167206#M38868</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 this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({$&amp;lt;DATA_EMISSAO = {"&amp;gt;=($(=MonthStart(AddMonths(today(),Meses))))&amp;lt;($(=MonthsEnd(1,Today(),Meses)))" } &amp;gt;} QUANTIDADE)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What type of element is "Meses"? Is it a variable? Is it a field? If it is a field, is ther only one selected/possible value? Is it part of th chart's dimensions?&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 19:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167206#M38868</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2011-01-12T19:06:02Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167207#M38869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a variable.&lt;BR /&gt;&lt;BR /&gt;I auditioned for the example that you posted more failed.&lt;BR /&gt;&lt;BR /&gt;This way it works, so I can not set dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DATA_EMISSAO = {"&amp;gt;=01/12/2010&amp;lt;=31/12/2010" } &amp;gt;} QUANTIDADE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 19:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167207#M38869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T19:15:45Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167208#M38870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, the only thing you need is to set the format to result of the expressions inside the value definitions.&lt;/P&gt;&lt;P&gt;This one takes care of that:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({$&amp;lt;DATA_EMISSAO = {"&amp;gt;=($(=Date(MonthStart(AddMonths(today(),Meses)), 'DD/MM/YYYY')))&amp;lt;($(=Date(MonthsEnd(1,Today(),Meses), 'DD/MM/YYYY')))" } &amp;gt;} QUANTIDADE)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Mike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 19:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167208#M38870</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2011-01-12T19:22:25Z</dc:date>
    </item>
    <item>
      <title>SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167209#M38871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function is adding the field "QUANTIDADE" with the restrictions of the field "DATA_EMISSAO" the dates of beginning and end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 19:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS/m-p/167209#M38871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T19:45:37Z</dc:date>
    </item>
  </channel>
</rss>

