<?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: Why won't this work... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424794#M158232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of these are working so I'm beginning to think there must be an issue with the formatting of the dates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 11:29:53 GMT</pubDate>
    <dc:creator>samvile18</dc:creator>
    <dc:date>2012-12-11T11:29:53Z</dc:date>
    <item>
      <title>Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424783#M158221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...can anyone tell me why this won't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Measure={'FUM'},FExtractDate={'$(=MonthEnd(MaxDate))'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxDate is a date field along with FExtractDate - I need to sum the FUM value where these two match.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 10:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424783#M158221</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424784#M158222</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;Do both MonthEnd() and FExtractDate and MaxDate have the same exact format (i.e.: DD/MM/YYYY)? You can try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552230966565606" jivemacro_uid="_13552230966565606"&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum({&amp;lt; Measure = {'FUM'}, FExtractDate = {'$(=Date(MonthEnd(MaxDate)))'} &amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 10:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424784#M158222</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424785#M158223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=sum({&amp;lt;Measure={'FUM'},FExtractDate={'$(=MonthEnd(MaxDate))'}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;try with " "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;{"FUM"}&amp;nbsp; &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;{"$(=MonthEnd(MaxDate))"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;Hope it helps you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 10:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424785#M158223</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2012-12-11T10:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424786#M158224</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;Single quoting in set analysis is OK as long as the value is a fixed, literal value. FUM is and so a date in a format DD/MM/YYYY. Although that will work, double quoting in set analysis is used with search values and accept wildcards, for example, to return a set where date ends with "2012":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1355223715492372" jivemacro_uid="_1355223715492372"&gt;&lt;P&gt;Sum({&amp;lt; FExtractDate = {"*2012"} &amp;gt;} Value)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424786#M158224</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424787#M158225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't get either of those answers to work...this really is puzzling me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea why this is returning nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424787#M158225</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T11:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424788#M158226</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;Is MaxDate a field, a variable? Does it have the same format as FExtractValue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424788#M158226</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424789#M158227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MaxDate is a field I've created within the script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424789#M158227</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T11:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424790#M158228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should have the same formatting as I've used the Date expression within the script for both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424790#M158228</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T11:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424791#M158229</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;Try then with Max() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552244680155969" jivemacro_uid="_13552244680155969"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; Measure = {'FUM'}, FExtractDate = {'$(=MonthEnd(Max(MaxDate)))'} &amp;gt;} Value)&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that set analysis works once for the whole chart, and not line by line. In this case, you should use an If() conditional instead. Set analysis is intended when you want the expression to work on a different set than the one in the sheet, but not to make comparisons for each value in the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424791#M158229</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424792#M158230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I'm going to have to go with an IF statement then...do you know how I would tell it to ensure the Measure is FUM along with making sure the dates are matching?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424792#M158230</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T11:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424793#M158231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the date values, it should be something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552249253809432" jivemacro_uid="_13552249253809432"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;If(Measure = 'FUM' AND FExtractDate = MonthEnd(MaxDate), Sum(Value))&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552249706146909" jivemacro_uid="_13552249706146909"&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; background-color: #ffffff;"&gt;Sum(If(Measure = 'FUM' AND FExtractDate = MonthEnd(MaxDate), Value))&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424793#M158231</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why won't this work...</title>
      <link>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424794#M158232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of these are working so I'm beginning to think there must be an issue with the formatting of the dates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 11:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-won-t-this-work/m-p/424794#M158232</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2012-12-11T11:29:53Z</dc:date>
    </item>
  </channel>
</rss>

