<?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: Date problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615947#M45850</link>
    <description>&lt;P&gt;Thanks for your response, Rick! But my problem is that I need to take the dates from my server, so I can't use the real time and thus not the built-in Date expressions in Qlik.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2019 12:10:24 GMT</pubDate>
    <dc:creator>materi</dc:creator>
    <dc:date>2019-08-23T12:10:24Z</dc:date>
    <item>
      <title>Date problem</title>
      <link>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615811#M45839</link>
      <description>&lt;P&gt;I want to have a KPI with values from the previous month in an app, and I don't know how to do that easily. I want to use an expression that looks something like:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Period={Magic}&amp;gt;}Size)&lt;/P&gt;&lt;P&gt;...such that the size for the previous month is shown in the KPI. What code can I use in the Magic section of that expression? The autoCalendar expressions didn't do anything since they just pick up the actual time from the computer and not the stored time data in the database.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 08:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615811#M45839</guid>
      <dc:creator>materi</dc:creator>
      <dc:date>2019-08-23T08:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem</title>
      <link>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615877#M45843</link>
      <description>&lt;P&gt;Hi Materi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you post a sample app here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following expression in the load editor to make a variable:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vLastMonth = date(AddMonths(today(), -1), 'MM');&amp;nbsp;&lt;/P&gt;&lt;P&gt;This returns the number of last month so in my case it says '07' right now. So in your case the set expression will be something like this:&amp;nbsp;&lt;STRONG&gt;Sum({$&amp;lt;Month={$(vLastMonth)}&amp;gt;}Size)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sincerely,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 10:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615877#M45843</guid>
      <dc:creator>Rick_T</dc:creator>
      <dc:date>2019-08-23T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem</title>
      <link>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615947#M45850</link>
      <description>&lt;P&gt;Thanks for your response, Rick! But my problem is that I need to take the dates from my server, so I can't use the real time and thus not the built-in Date expressions in Qlik.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615947#M45850</guid>
      <dc:creator>materi</dc:creator>
      <dc:date>2019-08-23T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date problem</title>
      <link>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615957#M45851</link>
      <description>&lt;P&gt;Can you post the date format that you import from your server?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-problem/m-p/1615957#M45851</guid>
      <dc:creator>Rick_T</dc:creator>
      <dc:date>2019-08-23T12:27:57Z</dc:date>
    </item>
  </channel>
</rss>

