<?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 expression issue when using modifiers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691659#M1299086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first app on QV and have been trying to learn QV as I develop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to use the master calendar (&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6593" target="_blank"&gt;http://community.qlik.com/docs/DOC-6593&lt;/A&gt;) by @&lt;A href="https://community.qlik.com/people/Richard.Pearce60" target="_blank"&gt;Richard.Pearce60&lt;/A&gt; in my app and the expressions for MTD/ MTD prev. period don't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded the master calendar from a qvd and the fact table from a qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where am going wrong and would appreciate any pointers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date={'$(=max(Date))'},%Flag_ThisMonthToDate={1} &amp;gt;} Measure_Name) is what I am using for MTD numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any pointers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691659#M1299086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first app on QV and have been trying to learn QV as I develop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to use the master calendar (&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6593" target="_blank"&gt;http://community.qlik.com/docs/DOC-6593&lt;/A&gt;) by @&lt;A href="https://community.qlik.com/people/Richard.Pearce60" target="_blank"&gt;Richard.Pearce60&lt;/A&gt; in my app and the expressions for MTD/ MTD prev. period don't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded the master calendar from a qvd and the fact table from a qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where am going wrong and would appreciate any pointers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date={'$(=max(Date))'},%Flag_ThisMonthToDate={1} &amp;gt;} Measure_Name) is what I am using for MTD numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any pointers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691659#M1299086</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691660#M1299091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, Date={$(=Max(Date))}&amp;nbsp; portion should not be there in the set. Try without it and check the result.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;%Flag_ThisMonthToDate={1} &amp;gt;} Measure_Name) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 08:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691660#M1299091</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-17T08:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691661#M1299095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt;%Flag_ThisMonthToDate={1},Date={'&amp;gt;=$(=MonthStart(Max(Date)))&amp;lt;=$(=Max(Date))'} &amp;gt;}Recharge_AED)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 08:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691661#M1299095</guid>
      <dc:creator />
      <dc:date>2014-06-17T08:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691662#M1299098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression looks good. If the 17 June 2014 is the max Date you will return %KeyDate's 1st June to 17th of June 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What selections do you have in your dashboard?&lt;/P&gt;&lt;P&gt;Have you linked your Calendar to the Fact table via the %KeyDate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 08:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691662#M1299098</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-17T08:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691663#M1299101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the tables are linked on %KeyDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="export.png" class="jive-image" height="190" src="https://community.qlik.com/legacyfs/online/60706_export.png" width="478" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is a chart with Day as a dimension and three expressions for MTD, MTD prev month, MTD for the same month last year for a particular month selected and in case a date is selected it should bring back the MTD figures for that day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="trend.png" class="jive-image" height="263" src="https://community.qlik.com/legacyfs/online/60710_trend.png" width="495" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above case my selection is May 25th 2014 and it shows the MTD numbers for May 2014, the numbers for April 2014 (comparative period which is 1 - 25th)&amp;nbsp; and for May 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I think that is where my problem lies - in this sample data set&amp;nbsp; I have data only until 7th June. So in this case my expression is failing I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691663#M1299101</guid>
      <dc:creator />
      <dc:date>2014-06-17T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691664#M1299104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a very good use of the calendar!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes if you haven't got data after June 7th I'd expect your blue line to end on day 7. The other lines would continue until the 17th day (presuming you have a complete history up to the 7th of June).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could perhaps modify the expression to compensate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One solution could be to add an additional Date field in your &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;fact&lt;/STRONG&gt;&lt;/SPAN&gt; table (same format as Date, DD-MMM-YYY) and use RangeMax() on both the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;SET a variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SET vMaxDate = date(rangemax(Date,NewFactDate),'DD-MMM-YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;num(sum({&amp;lt;Date={'$(=vMaxDate)'},%Flag_ThisMonthToDate={1} &amp;gt;} Sales),'0,000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691664#M1299104</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-17T10:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691665#M1299106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just thought this won't work as it will still get the max date from the calendar..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic principle is correct but the variable needs a re-think. Just popping for lunch so will have a look when I'm back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691665#M1299106</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-17T11:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691666#M1299108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if am sounding dumb - but could you please elaborate this for me so that its a little more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your post I understand that if I need create a another date in my Fact table - that NewFactDate is essentially the same as creating a field Date as NewFactDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it would translate to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Date as NewFactDate, .. ... ...&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;my fact qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create the vMaxDate variable which chooses the maximum date between Date and NewFactDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming All my selections are based on Date field - I choose May 25th 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be vMaxDate *confused here*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in my fact I have data historically and I don't want the lines going until 17th but as in my previous example only until the day I have chosen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On an other note, I have multiple fact tables to be used and didn't want to go the way of creating a calendar for each and hence I found your method wonderful. The introduction of weekday/weekend/ holiday flag will be something which I hope to use to awe my business user community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691666#M1299108</guid>
      <dc:creator />
      <dc:date>2014-06-17T11:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691667#M1299109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These extra steps I'm describing are just to resolve your missing data issue. That is if the calendar allows a higher date being selected when there's no corresponding fact data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the expression using&amp;nbsp; Date={'$(=max(Date))'} ensures the set analysis is referencing a single date. So if you select the [Month] = May 2014 the max(Date) is 31-May-2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you could limit your Calendar QVD load just to %KeyDates that exist in your fact tables using where Exists(%KeyDate) although this may not suit your needs as fact tables may not contain an identical set. For example some may have the 7th June as the most recent and some may have the 16th....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I'm describing Is basically ensuring the Date referenced in Set Analysis is never higher than the FACT data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a think and if the variable is changed to this it will work:&lt;/P&gt;&lt;P&gt;SET vMaxDate = date(RangeMin(max(Date),max(NewFactDate)),'DD-MMM-YYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we're taking the Max Date from both tables; in our example it would be 17-Jun and 7-Jun from calendar and fact tables respectively and taking the min of both (RangeMin()) which would be the 7-Jun. We now use this date contained in the variable in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'$(=vMaxDate)'},%Flag_ThisMonthToDate={1} &amp;gt;} [Your Field to Sum])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now vMaxDate = 7-Jun-2014 the chart will show three lines until the 7th day for their respective months (if this is the result you were aiming for)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this could be confusing for the user. They have selected the 17th but can only see up to the 7th. You can place objects on the sheet that helps them understand why this is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have different dates in each of your fact tables (such as Sales Date, Invoice Date, Payment Date) this may help &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6502"&gt;http://community.qlik.com/docs/DOC-6502&lt;/A&gt; and can be used in conjunction with this calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 12:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691667#M1299109</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-17T12:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691668#M1299110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the detailed explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got&amp;nbsp; this working now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Rech exp.png" class="jive-image" height="213" src="/legacyfs/online/60745_Rech exp.png" width="446" /&gt;&lt;/P&gt;&lt;P&gt;There a few other things I am trying to do - one of which is trying to use this to produce a chart which has daily numbers similar to the above. The above is MTD numbers as you can see for which I use the expression as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=$(=max(Date))'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Flag_PreviousMonth_M01&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[My Measure]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If I use the %Flag_IsThisDate&amp;nbsp; - then am able to plot for the chosen month&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=$(=max(Date))'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Flag_IsThisDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[My Measure]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I would like to achieve is&amp;nbsp; if the month chosen is June 2014, then a daily trend graph as above for the periods of May 2014, April 2014 and June 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 19:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691668#M1299110</guid>
      <dc:creator />
      <dc:date>2014-06-17T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691669#M1299111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({$&amp;lt;Date={'&amp;gt;=$(=monthstart(addmonths(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 11px;"&gt;max(Date)&lt;/SPAN&gt;,-3)))',&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;%Flag_IsThisDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={1} }&lt;/SPAN&gt;&amp;gt;}[My Measure])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 19:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691669#M1299111</guid>
      <dc:creator>venkatg6759</dc:creator>
      <dc:date>2014-06-17T19:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691670#M1299112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning Iav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good news its working now for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if I understand your latest question. If you have a month selected then &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Flag_IsThisDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1} &lt;/SPAN&gt;will return all Point In Time flags for that month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted the previous month then &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Flag_PreviousMonth_M01&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1}&lt;/SPAN&gt; will give you May-2014 (assuming you have June-2012 selected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe there may be more to your question, could you give me more information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 07:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691670#M1299112</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-18T07:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691671#M1299113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was way past midnight and hence I think I was composing this half asleep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are indeed right,&amp;nbsp; the charts I have are point of time and not cumulative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying a few different things&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to FINALLY achieve is this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 charts - one which shows daily numbers for a particular measure and one which shows MTD numbers for a particular measure for the period chosen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the dimension would be day - and the user would choose the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case chart 1 should show Measure - daily numbers for M, M-1, M-2 and M (Y-1). Chart 2 should show Measure - as MTD (cumulative) numbers for the periods M, M-1, M-2 and M (Y-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="207"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="68"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="75"&gt;MTD Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/1/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/2/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;38&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/3/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;30&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;68&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/4/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;25&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;93&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/5/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;35&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;128&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/6/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;27&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;155&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/7/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;15&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/8/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;187&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/9/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;22&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;209&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/10/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;28&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/11/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;17&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;254&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/12/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;19&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;273&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/13/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;294&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/14/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;24&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;318&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/15/2014&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;22&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;340&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other things I am trying to do are &lt;A _jive_internal="true" href="https://community.qlik.com/message/550761#550761"&gt;http://community.qlik.com/message/550761#550761&lt;/A&gt; which I would come to next after I sort this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 10:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691671#M1299113</guid>
      <dc:creator />
      <dc:date>2014-06-18T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691672#M1299114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first set on numbers should be simple enough. Using the Flags we've discussed previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cumulative numbers are a bit special and aren't covered by the Calendar. There are a number of threads on the subject but ultimately you need to use a formula which will look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum( above( sum(&amp;nbsp; "Here put the normal Calendar Flags, Calculation Field"&amp;nbsp;&amp;nbsp; ),0,rowno() ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 13:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691672#M1299114</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-18T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691673#M1299115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your wise words. I have been able to get both the trends up and running &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I may bother you a little more and pick your brains&amp;nbsp; - I want a chart with 12 months rolling windows to be showing the cumulative number for every month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the chart dimension is on Month-Year (from Calendar) and then I want to show the monthly cumulative number for the last 12 months when a month is chosen. Should I write 12 expressions to bring back every month ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you advise to approach this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 08:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691673#M1299115</guid>
      <dc:creator />
      <dc:date>2014-06-19T08:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691674#M1299116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning Iav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're chart dimension is Month Year you could use %Flag_LastMonth_M12 in a single expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This flag will give you all KeyDates from the Max(Date) selected for the last 12 months. It will include any part months. If this is an issue you could create a new flag (using ones already there as starting points) or you could change the Date={'$(=max(Date))'} element to Date={'$(=MonthsEnd(max(Date)))'} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 08:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691674#M1299116</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-19T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691675#M1299117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. Sorry I disappeared for a bit . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question, regarding the use of master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the master calendar it gets joined to my fact table based on the key date. So this works fine in the case I want to do point of time reporting on trends etc. So the user chooses a month and I give them the relevant charts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are cases where I also want to let the user choose more than a month and just show the daily numbers/ month to date (cumulative) number for those two months (or the chosen months/ weeks/ days) - How can I achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the other case is that I just want to show the current month's month-to-date cumulative number irrespective of the choice the user makes&amp;nbsp; - how should I go about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 16:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691675#M1299117</guid>
      <dc:creator />
      <dc:date>2014-06-24T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691676#M1299118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%Flag_IsThisDate ={1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will make a 1-2-1 connection between the Date and %KeyDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 09:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691676#M1299118</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-25T09:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691677#M1299119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using that flag I would be able to&amp;nbsp; show the current year's month-to-date cumulative number irrespective of the choice the user makes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried this&amp;nbsp; to get the current year's MTD. I created a variable vFactYear in the fact table which is Year(Transaction_date) and used that in the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;vfactyear={$(=year(Today()))},%Flag_ThisMonthToDate={1},%Flag_ThisYear={1}&amp;gt;}[my measure])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above works fine and&amp;nbsp; I get the MTD figures for every month until June 25th for 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to get the MTD figured for every month until June 25th for 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this&amp;nbsp; sum({1&amp;lt;vFactYear={$(=year(Today())-1)},%Flag_ThisMonthToDate={1},%Flag_ThisYear={1}&amp;gt;}[my measure])&amp;nbsp; but this brings back until 201312.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above aside the second issue is &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;There are cases where I also want to let the user choose more than a month and just show the daily numbers/ month to date (cumulative) number for those two months (or the chosen months/ weeks/ days) - How can I achieve this ? "&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to try and see if I can use the same flag for the above case as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 13:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691677#M1299119</guid>
      <dc:creator />
      <dc:date>2014-06-25T13:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression issue when using modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691678#M1299120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your second expression I think you need to change vFactYear={$(=year(Today())-1)} to use the Year field from the calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field vFactYear is in your fact table it will still link to all dates in your calendar table due to the Cartesian product element&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 13:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-issue-when-using-modifiers/m-p/691678#M1299120</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-06-25T13:42:45Z</dc:date>
    </item>
  </channel>
</rss>

