<?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: Month to Date Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/138000#M9713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ism,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see you are using the autoCalendar features.&amp;nbsp; I think the two that you want to use are the InMTD flag and the MonthsAgo field in your set analysis.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[completed_date.autoCalendar.&lt;/SPAN&gt;InMTD]={1}&amp;nbsp;&amp;nbsp; is for dates up to today's date in all months&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[completed_date.autoCalendar.MonthAgo]={0} is for current month, so the two together will limit to this month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lisa&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 23:20:42 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2018-08-30T23:20:42Z</dc:date>
    <item>
      <title>Month to Date Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/137999#M9712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to create a measure that sums sales from Calendar month to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have so far t&lt;SPAN style="font-size: 10pt;"&gt;his expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(aggr(sum(distinct{$&amp;lt;[completed_date.autoCalendar.Date]={"&amp;gt;=$(=Date(max([completed_date])-30))"}&amp;gt;}(order_total)), order_id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I am not mistaking, the value I am getting is sales from last thirty days, not "Calendar" month.&amp;nbsp; Any help to transform this expression to one that will show Month to date value?&amp;nbsp; Any help is appreciated.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 20:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/137999#M9712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T20:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Month to Date Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/138000#M9713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ism,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see you are using the autoCalendar features.&amp;nbsp; I think the two that you want to use are the InMTD flag and the MonthsAgo field in your set analysis.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[completed_date.autoCalendar.&lt;/SPAN&gt;InMTD]={1}&amp;nbsp;&amp;nbsp; is for dates up to today's date in all months&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[completed_date.autoCalendar.MonthAgo]={0} is for current month, so the two together will limit to this month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lisa&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 23:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/138000#M9713</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2018-08-30T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Month to Date Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/138001#M9714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think I have those fields.&amp;nbsp; Any other idea on how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 17:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-to-Date-Measure/m-p/138001#M9714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T17:30:50Z</dc:date>
    </item>
  </channel>
</rss>

