<?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: Prior Month sales in text box in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/2000127#M13185</link>
    <description>&lt;P&gt;Can you try the below code&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;SPAN&gt;Num&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;Quarter&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Year&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Month&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;MonthYr&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= {&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt;=$(=monthstart(addmonths(&lt;WBR /&gt;max([Date]),-1)))&lt;WBR /&gt;&amp;lt;=$(=MonthEnd(addmonths(max([Date]),-1)))"&lt;/SPAN&gt;&lt;SPAN&gt;}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sales&lt;/SPAN&gt;&lt;SPAN&gt;),'#,###.###'))&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 13:05:04 GMT</pubDate>
    <dc:creator>Krish</dc:creator>
    <dc:date>2022-11-03T13:05:04Z</dc:date>
    <item>
      <title>Prior Month sales in text box</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/1680804#M11107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to get sum of sales (prior year same month) in Qlikview, but it doesn't work.&lt;/P&gt;&lt;P&gt;Eg: If I select month as Feb&amp;nbsp; (year is a separate selection which is 2020) then I should get the sum of sales of 2019 Feb.&lt;/P&gt;&lt;P&gt;Below is the one I tried.&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt; Month= {"$(=Date(AddMonths(Max(Month), -1), 'MMM'))"}&amp;gt;}sales)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 09:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/1680804#M11107</guid>
      <dc:creator>Krish</dc:creator>
      <dc:date>2020-03-02T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Month sales in text box</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/1680827#M11108</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Try this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year=,Month=,Date={"&amp;gt;=$(=AddYears(MonthStart(max(Date)),-1)) &amp;lt;=$(=AddYears(max(Date),-1))"} &amp;gt;} &lt;SPAN&gt;sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 10:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/1680827#M11108</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2020-03-02T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Prior Month sales in text box</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/2000127#M13185</link>
      <description>&lt;P&gt;Can you try the below code&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;SPAN&gt;Num&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;Quarter&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Year&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Month&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;MonthYr&lt;/SPAN&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= {&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt;=$(=monthstart(addmonths(&lt;WBR /&gt;max([Date]),-1)))&lt;WBR /&gt;&amp;lt;=$(=MonthEnd(addmonths(max([Date]),-1)))"&lt;/SPAN&gt;&lt;SPAN&gt;}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sales&lt;/SPAN&gt;&lt;SPAN&gt;),'#,###.###'))&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 13:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Prior-Month-sales-in-text-box/m-p/2000127#M13185</guid>
      <dc:creator>Krish</dc:creator>
      <dc:date>2022-11-03T13:05:04Z</dc:date>
    </item>
  </channel>
</rss>

