<?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: set analysis problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622505#M1110311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried this:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month={"&amp;lt;=$(month(today()))"}&amp;gt;}Target_Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its giving me the target of the whole year. nit just till this month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 11:41:53 GMT</pubDate>
    <dc:creator>adiarnon</dc:creator>
    <dc:date>2014-03-11T11:41:53Z</dc:date>
    <item>
      <title>set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622496#M1110296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats wrong in this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={'&amp;lt;=month(today())'}&amp;gt;}Target_Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want the sum of Target_Product till the end of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 07:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622496#M1110296</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-03-11T07:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622497#M1110297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={"&amp;lt;=$(=month(today()))"}&amp;gt;}Target_Product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 07:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622497#M1110297</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-11T07:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622498#M1110298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tnx&lt;/P&gt;&lt;P&gt;but its not working... =/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 07:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622498#M1110298</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-03-11T07:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622499#M1110299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the month data format could be the issue. Could you post your sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 07:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622499#M1110299</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-11T07:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622500#M1110300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this expression works:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month={"=(month(today()))"}&amp;gt;}Target_Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives only the target of the current month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 07:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622500#M1110300</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-03-11T07:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622501#M1110305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using &lt;STRONG&gt;month&lt;/STRONG&gt;() function, it will return Feb, Oct according to your parameters. = is OK, &amp;lt;= is not.&lt;/P&gt;&lt;P&gt;You should do &lt;STRONG&gt;num(month(today()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When you perform date comparison, you should use numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fabrice&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 08:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622501#M1110305</guid>
      <dc:creator />
      <dc:date>2014-03-11T08:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622502#M1110307</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;Use proper function name inside ""&lt;/P&gt;&lt;P&gt;Like use =Month(Today())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 08:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622502#M1110307</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-03-11T08:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622503#M1110309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has given a new finding:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/134028"&gt;Fabrice Aunez&lt;/A&gt; , comparison works (because with Month() the output is actually a dual), but with a different style:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month={"=Month&amp;gt;Month(Today())"}&amp;gt;}Amt)&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set analysis example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(If(Month&amp;gt;Month(today()),Amt))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, &lt;A href="https://community.qlik.com/qlik-users/137459"&gt;adi arnon&lt;/A&gt;, this : Sum({&amp;lt;Month={"=Month&amp;lt;=Month(Today())"}&amp;gt;}Target_Product)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , would work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622503#M1110309</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-03-11T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622504#M1110310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I partially agree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These two syntaxes work:&lt;/P&gt;&lt;P&gt;sum &lt;SPAN style="font-size: 10pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"&amp;lt;= $(=num(month(today())))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Month&lt;/SPAN&gt; ={&lt;SPAN style="color: #800000;"&gt;"=Month&amp;lt;Month(today()) "&lt;/SPAN&gt;} &amp;gt;} &lt;SPAN style="color: #800000;"&gt;Amount&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This syntax does not work (I do not get any result): The only difference with the first syntax is the &lt;STRONG&gt;num&lt;/STRONG&gt;() function that is not used.&lt;/P&gt;&lt;P&gt;sum&lt;SPAN&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"&amp;lt;= $(=month(today()))"&lt;/SPAN&gt;&lt;SPAN&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Month is dual: it has been constructed using the &lt;STRONG&gt;Month&lt;/STRONG&gt;() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In set analysis, I think it is better to use numeric for date comparisons. But (you are right) that is not the single way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622504#M1110310</guid>
      <dc:creator />
      <dc:date>2014-03-11T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622505#M1110311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried this:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month={"&amp;lt;=$(month(today()))"}&amp;gt;}Target_Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its giving me the target of the whole year. nit just till this month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 11:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622505#M1110311</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-03-11T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622506#M1110312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Looks like you are missing = in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;Month={"&amp;lt;=$(=Month(Today()))"}&amp;gt;}Target_Product)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 11:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622506#M1110312</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-03-11T11:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622507#M1110313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several syntaxes to test. See above all threads and their explanations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 11:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622507#M1110313</guid>
      <dc:creator />
      <dc:date>2014-03-11T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622508#M1110314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this sorry for previous one &lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Month={"=(Month&amp;gt;(Month(today())))"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Target_Product&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 11:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-problem/m-p/622508#M1110314</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-11T11:58:17Z</dc:date>
    </item>
  </channel>
</rss>

