<?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 Simple set analysis query.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261093#M98459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Martina, The number seen in the screenshot is for the whole years. If i select May 2011, the number should be 1,142,223 only... this is showing it as 18 million which is wrong and its because I am not selecting any date in the above screenshot... can i get only May 2011 data by default...its defaulting to all years data and your expression&amp;nbsp; below to get the max month (May) data by default doesnt work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(month)=1,&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=max(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)),&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=Only(month(today())))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help again, any more suggestions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 14:27:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-06T14:27:09Z</dc:date>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261082#M98448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a simple Set Analysis expression query. It feels like I have done this before, but unable to do it now..I am trying to get the data for the maximum available &lt;STRONG&gt;month &lt;/STRONG&gt;and tried the below expressions, none of this work. I have data till May in this case and June data comes in July... can anyone help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;&amp;nbsp; (sum({&amp;lt;&lt;STRONG&gt;month = month(today())&lt;/STRONG&gt;&amp;gt;}reportValue)&amp;lt;&amp;gt;0,&amp;nbsp; &lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = 'max(=month)'&lt;/STRONG&gt;&amp;gt;}reportValue), $(vNumberForm)),'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default I want my chart to show the maximum available data and change only when we select other dates.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261082#M98448</guid>
      <dc:creator />
      <dc:date>2011-07-06T13:12:01Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261083#M98449</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;the correct set analysis syntax is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;&amp;nbsp; (sum({&amp;lt;&lt;STRONG&gt;month = {$(=Only(month(today())))}&lt;/STRONG&gt;&amp;gt;} reportValue)&amp;lt;&amp;gt;0,&amp;nbsp; &lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=max(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)),'')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261083#M98449</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261084#M98450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the solution provided by you, but it returns 0 and I am sure when I do a &lt;STRONG&gt;sum(reportValue)&lt;/STRONG&gt; and &lt;STRONG&gt;select May&lt;/STRONG&gt; for which I &lt;STRONG&gt;have data &lt;/STRONG&gt;till, I get a number....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default the chart should show the last available month data and change only when a different month or year is selected.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Again,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261084#M98450</guid>
      <dc:creator />
      <dc:date>2011-07-06T13:29:10Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261085#M98451</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;did you select a month? Your expression gives you a result only if is select 1 month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261085#M98451</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261086#M98452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, now matter if i select a month or not, it still shows me 0 and the problem is if I have to select a month and then it shows a number, then all I have to do is sum(reportValue) and select month May and get the exact number....but i want the chart to show the maximum month value by default..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more ideas please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261086#M98452</guid>
      <dc:creator />
      <dc:date>2011-07-06T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261087#M98453</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;maybe you enter better something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(month)=1,&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=max(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)),&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=Only(month(today())))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261087#M98453</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T13:45:34Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261088#M98454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Martina, I tried this but have the same issue, I did not understand how would it solve my problem, if I add GetSelectedCount(month)=1 in my set analysis expression. I think by adding this, we are saying if the selected month count is 1 then do the calculation... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want my Pivot to check for the max month Data before making any selections and show it only for that month, however it should change only when the user selects a different month or year....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant we write something to show it?? I am sure most of us might have already done that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261088#M98454</guid>
      <dc:creator />
      <dc:date>2011-07-06T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261089#M98455</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;pardon, I did not understand, what did you want to do! Could you please post an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261089#M98455</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261090#M98456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;OffenePostenHistorie.BELDATUM = {'&amp;lt;=$(FDatum)'}&amp;gt;} OffenePostenHistorie.OBETRAG)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261090#M98456</guid>
      <dc:creator />
      <dc:date>2011-07-06T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261091#M98457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Pivot table as seen in the image here. I have the below expression as seen to get this data : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&amp;nbsp;&amp;nbsp; (sum(reportValue)&amp;lt;&amp;gt;0,&amp;nbsp; &lt;/P&gt;&lt;P&gt;num(sum(reportValue), $(vNumberForm)),'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is fine, But i want this chart to show by default the maximum available month data in my case its May 2011. I want the set analysis to check for the maximum month and year available and show by default, later on, when I click on April 2011 or any other selection, it should change. Is this possible??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank again,&lt;IMG alt="LikeThis.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5685_LikeThis.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261091#M98457</guid>
      <dc:creator />
      <dc:date>2011-07-06T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261092#M98458</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;but this is my expression doing, maybe you have to change the true- and false-value.&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261092#M98458</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261093#M98459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Martina, The number seen in the screenshot is for the whole years. If i select May 2011, the number should be 1,142,223 only... this is showing it as 18 million which is wrong and its because I am not selecting any date in the above screenshot... can i get only May 2011 data by default...its defaulting to all years data and your expression&amp;nbsp; below to get the max month (May) data by default doesnt work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(month)=1,&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=max(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)),&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=Only(month(today())))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help again, any more suggestions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261093#M98459</guid>
      <dc:creator />
      <dc:date>2011-07-06T14:27:09Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261094#M98460</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;pardon, I meant something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(month)=1,&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=Only(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)),&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;&lt;STRONG&gt;month = {"$(=Max(month))"}&lt;/STRONG&gt;&amp;gt;} reportValue), $(vNumberForm)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261094#M98460</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261095#M98461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Martina, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your time and effort in trying to help me with this situation. I figured out a way for this issue and I am hiding columns in Pivot and using multiple expressions, which solved my problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for all the help,&lt;/P&gt;&lt;P&gt;Mady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 14:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261095#M98461</guid>
      <dc:creator />
      <dc:date>2011-07-06T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Simple set analysis query..</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261096#M98462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mady,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not at all and greetings from Munich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 15:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-set-analysis-query/m-p/261096#M98462</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-07-06T15:05:49Z</dc:date>
    </item>
  </channel>
</rss>

