<?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: Previous Month and Previous 12 Months Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152711#M93360</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257648"&gt;@nranweiler&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In your expression, try to adjust the syntax, there are parentheses left) in the analysis of the set.&lt;/P&gt;
&lt;P&gt;Example previous month&lt;BR /&gt;Sum({&amp;lt;&lt;SPAN&gt;[Common Date.autoCalendar.Date]&lt;/SPAN&gt;={"&amp;gt;=$(=(&lt;SPAN&gt;MonthStart&lt;/SPAN&gt;(Today(),-1)))&amp;lt;=$(=(&lt;SPAN&gt;MonthEnd&lt;/SPAN&gt;(Today(),-1)))"},Year=,[ Month ]=&amp;gt;}&lt;SPAN&gt;&amp;nbsp;[Total Cost]&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example -12&lt;/P&gt;
&lt;P&gt;sum({1&amp;lt;&lt;SPAN&gt;[Common Date.autoCalendar.Date]&lt;/SPAN&gt;={"&amp;gt;=$(=AddMonths(Monthstart(today()),-12))&amp;lt;=$(=MonthEnd(today(),-1))"}&amp;gt;}&lt;SPAN&gt;&amp;nbsp;[Total Cost]&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;In this example, without considering the current month&lt;BR /&gt;&lt;BR /&gt;Att,&lt;BR /&gt;&lt;BR /&gt;Matheus&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 19:26:40 GMT</pubDate>
    <dc:creator>MatheusC</dc:creator>
    <dc:date>2023-12-13T19:26:40Z</dc:date>
    <item>
      <title>Previous Month and Previous 12 Months Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152693#M93358</link>
      <description>&lt;P&gt;Need help with two measures I'm trying to create to be inserted as column's in my app.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The Prev Month is set to this:&amp;nbsp;&lt;BR /&gt;Sum({&amp;lt;[Common Date.autoCalendar.Date]={"&amp;gt;=$(=(MonthStart(AddMonths(Today([Common Date]),-1)))))&amp;lt;=$(=(MonthEnd(AddMonths(Today([Common Date]),-1)))))"},Year=,Month=&amp;gt;} [Total Cost])&lt;/P&gt;
&lt;P&gt;It returns this below:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nranweiler_0-1702490784338.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/125387iDC25EDEEEF953223/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nranweiler_0-1702490784338.png" alt="nranweiler_0-1702490784338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The data in the table is only showing $0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nranweiler_1-1702490840601.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/125388iEAFFEC0DA63B7F57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nranweiler_1-1702490840601.png" alt="nranweiler_1-1702490840601.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any Ideas on what I have wrong and how to set a measure to the Previous 12 Months as well?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 18:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152693#M93358</guid>
      <dc:creator>nranweiler</dc:creator>
      <dc:date>2023-12-13T18:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month and Previous 12 Months Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152711#M93360</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257648"&gt;@nranweiler&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In your expression, try to adjust the syntax, there are parentheses left) in the analysis of the set.&lt;/P&gt;
&lt;P&gt;Example previous month&lt;BR /&gt;Sum({&amp;lt;&lt;SPAN&gt;[Common Date.autoCalendar.Date]&lt;/SPAN&gt;={"&amp;gt;=$(=(&lt;SPAN&gt;MonthStart&lt;/SPAN&gt;(Today(),-1)))&amp;lt;=$(=(&lt;SPAN&gt;MonthEnd&lt;/SPAN&gt;(Today(),-1)))"},Year=,[ Month ]=&amp;gt;}&lt;SPAN&gt;&amp;nbsp;[Total Cost]&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example -12&lt;/P&gt;
&lt;P&gt;sum({1&amp;lt;&lt;SPAN&gt;[Common Date.autoCalendar.Date]&lt;/SPAN&gt;={"&amp;gt;=$(=AddMonths(Monthstart(today()),-12))&amp;lt;=$(=MonthEnd(today(),-1))"}&amp;gt;}&lt;SPAN&gt;&amp;nbsp;[Total Cost]&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;In this example, without considering the current month&lt;BR /&gt;&lt;BR /&gt;Att,&lt;BR /&gt;&lt;BR /&gt;Matheus&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 19:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152711#M93360</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2023-12-13T19:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month and Previous 12 Months Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152716#M93361</link>
      <description>&lt;P&gt;Thank you so much!!! I'm new to Qlik so the editor is a learning challenge for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 19:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Month-and-Previous-12-Months-Measure/m-p/2152716#M93361</guid>
      <dc:creator>nranweiler</dc:creator>
      <dc:date>2023-12-13T19:44:56Z</dc:date>
    </item>
  </channel>
</rss>

