<?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: Set Analysis: Need To Look At Data From Previous Month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119997#M8331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response. &lt;SPAN style="font-size: 10pt;"&gt;I just tried both of those options and it outputs $0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also still on version 3.2 of Qilk Sense. I am not sure if there is a difference in double &amp;amp; single quotes on this version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any other thoughts on how to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 15:51:06 GMT</pubDate>
    <dc:creator>bdroesch</dc:creator>
    <dc:date>2018-07-06T15:51:06Z</dc:date>
    <item>
      <title>Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119995#M8329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have month end balances for different accounts. I am trying to create a table where a user can select multiple account numbers and multiple dates to view the current balance as well as the balance from the previous month end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are examples of the results I would be trying to produce where Account, AsOfDate &amp;amp; CurrBalance are the only fields that are being loaded in via the data loader. (So PrevMonthEndDate &amp;amp; PrevBalance would need to be calculated).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 450px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="67"&gt;Account&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="89"&gt;AsOfDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="130"&gt;PrevMonthEndDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="81"&gt;CurrBalance&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="83"&gt;PrevBalance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2222&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;3333&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1600&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;TABLE border="0" cellpadding="0" cellspacing="0" height="189" style="width: 498px; height: 164px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="67"&gt;Account&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="89"&gt;AsOfDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="130"&gt;PrevMonthEndDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="81"&gt;CurrBalance&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="83"&gt;PrevBalance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4/30/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1200&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3/31/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2/28/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1300&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2/28/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1400&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;P&gt;1500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&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;SPAN style="font-size: 13.3333px;"&gt;I have been trying to use set analysis but I am running in to some problems. I created a variable vPrevMonth with the following definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;vPrevMonth&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=MonthEnd(AddMonths([AsOfDate],-1))&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then I created a measure in the table for PrevBalance with the following formula:&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[AsOfDate] = {'=$(vPrevMonth)'} &amp;gt;} [CurrBalance])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula just shows the Current Balance for the AsOfDate. For example, below I just selected my AsOfDate to be 06/30/2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 450px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="67"&gt;Account&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="89"&gt;AsOfDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="130"&gt;PrevMonthEndDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="81"&gt;CurrBalance&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="83"&gt;PrevBalance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;2222&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;3333&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I believe this means that in the set analysis, the &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;{'=$(vPrevMonth)'} &lt;/STRONG&gt;is searching through all possible AsOfDates and outputting a list of previous month end dates (so it is not restricted to look at only AsOfDate=06/30/2018).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, with this formula if I select two AsOfDates then it shows a PrevBalance =0. Please see below where I select AsOfDate to be either 6/30/2018 or 5/31/2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 450px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="20" width="67"&gt;Account&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="89"&gt;AsOfDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="130"&gt;PrevMonthEndDate&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="81"&gt;CurrBalance&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="83"&gt;PrevBalance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6/30/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;1111&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5/31/2018&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4/30/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&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;Thank you,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:08:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119995#M8329</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-06T15:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119996#M8330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try one of these&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[AsOfDate] = {"$(vPrevMonth)"}&amp;gt;} [CurrBalance])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[AsOfDate] = {"$(=vPrevMonth)"}&amp;gt;} [CurrBalance])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119996#M8330</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T15:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119997#M8331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response. &lt;SPAN style="font-size: 10pt;"&gt;I just tried both of those options and it outputs $0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also still on version 3.2 of Qilk Sense. I am not sure if there is a difference in double &amp;amp; single quotes on this version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any other thoughts on how to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119997#M8331</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-06T15:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119998#M8332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about giving this a shot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;[AsOfDate] = {"$(=$(vPrevMonth))"}&amp;gt;} [CurrBalance])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119998#M8332</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119999#M8333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that still outputs 0. So if I do not have the equals sign after the double or single quotations this expression outputs 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my original formula, I had an equal sign after a single quote -&amp;gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {'=$(vPrevMonth)'}.&amp;nbsp; &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;If I put in this equals sign it outputs the current balance associated with the AsOfDate.&amp;nbsp; What exactly does the equals sign after the double or single quotations within the {} do?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/119999#M8333</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-06T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120000#M8334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about if you store your expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;=Date(Floor(MonthEnd(AddMonths([AsOfDate],-1))), 'M/D/YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120000#M8334</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T16:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120001#M8335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated the variable but that didn't seem to help with any of the possible functions that you shared with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried to add the Date(Floor... combo to the first "AsOfDate" field that is listed in the SUM function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there also a way to use the Above function? I have not used that before but was curious if that could be a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120001#M8335</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-06T16:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120002#M8336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible for you to share a sample to check this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 18:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120002#M8336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T18:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120003#M8337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you mean by a sample? Like the actual data that I am using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 20:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120003#M8337</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-06T20:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120004#M8338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actual or mocked up data qvf file where you can show the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2018 02:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120004#M8338</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-07T02:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120005#M8339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample of similar data to what I have been working with.&amp;nbsp; I adjusted vPrevMonth to remove the first "=" at the beginning of the equation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please disregard that there is no data for 06/30/2018. I have been testing with As Of Dates of 5/31/2018 or older.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 22:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120005#M8339</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-09T22:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120006#M8340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few things to note...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) MonthEnd() gives a timestamp down to the last second of the Month... SO, MonthEnd() today will be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;07/31/2018 23:59:59&lt;/STRONG&gt;. But since your AsOfDate is most likely just a date, you need to use Floor to remove Time and use Date for formatting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You were using AsOfDate as dimension... but if you are looking to see this by selecting a single date... I would suggest you against using it as a dimension and rather use it as an expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see if this is what you wanted&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207391_Capture.PNG" style="height: 143px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 23:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120006#M8340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-09T23:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120007#M8341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. This does work but only if you are selecting 1 date. I guess this is a limitation if you are setting AsOfDate as an Expression.&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;If I make it a dimension then it will not work as currently constructed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I could satisfy multiple date selections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I need to use the AGGR() function to group by "AsOfDate"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120007#M8341</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-10T19:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120008#M8342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AsOfDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum([CurrBalance])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(vPrevMonth)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Above(Sum({&amp;lt;AsOfDate&amp;gt;} [CurrBalance])), ID, (AsOfDate, (NUMERIC, ASC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207487_Capture.PNG" style="height: 151px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120008#M8342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-10T19:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120009#M8343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny. This worked for me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mind just explaining the formula below? Specifically what {&amp;lt;AsOfDate&amp;gt;} does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Aggr(Above(Sum({&amp;lt;AsOfDate&amp;gt;} [CurrBalance])), ID, (AsOfDate, (NUMERIC, ASC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 22:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120009#M8343</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-10T22:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120010#M8344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain with an example... when we are selecting 5/31 and 4/30.... we only have values for those two months.... but for previous month we want to see 4/30 and 3/31... in order to be able to see 3/31... we need to ignore selection in AsOfDate.... which allow Above() function to look one Month above value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 00:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120010#M8344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-11T00:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: Need To Look At Data From Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120011#M8345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 17:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Need-To-Look-At-Data-From-Previous-Month/m-p/120011#M8345</guid>
      <dc:creator>bdroesch</dc:creator>
      <dc:date>2018-07-13T17:54:35Z</dc:date>
    </item>
  </channel>
</rss>

