<?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: GetFieldSelections-Function - calculate the previous month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77378#M1249224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try formatting the dual to string for set comparison like:&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; font-size: 13px;"&gt;=Sum({&amp;lt;Monat={"$(=&lt;STRONG&gt;Month(Date#&lt;/STRONG&gt;(GetFieldSelections(Monat)-1,&lt;STRONG&gt;'M'&lt;/STRONG&gt;)))"}&amp;gt;}Plan)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2018 09:32:44 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-04-09T09:32:44Z</dc:date>
    <item>
      <title>GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77374#M1249214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a problem with the GetFieldSelections-Function. I would like the Month before the Selection (previous month)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;That is my expression:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({&amp;lt;Monat={"$(=GetFieldSelections(Monat)-1)"}&amp;gt;}Plan)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The calculation of the currently selected month works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Could you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77374#M1249214</guid>
      <dc:creator>neapicture</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77375#M1249216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you selecting a single month value? How did you create month field in the script, using month()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77375#M1249216</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-09T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77376#M1249219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, a single month is always chosen.&lt;/P&gt;&lt;P&gt;Only there does the calculation need to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and i use Month()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Datumsfeld) AS Monat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mrz;Apr;Mai;Jun;Jul;Aug;Sep;Okt;Nov;Dez';&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77376#M1249219</guid>
      <dc:creator>neapicture</dc:creator>
      <dc:date>2018-04-09T09:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77377#M1249223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try formatting the dual to string for set comparison like:&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; font-size: 13px;"&gt;=Sum({&amp;lt;Monat={"$(=&lt;STRONG&gt;Month(Date#&lt;/STRONG&gt;(GetFieldSelections(Monat)-1,&lt;STRONG&gt;'M'&lt;/STRONG&gt;)))"}&amp;gt;}Plan)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77377#M1249223</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-09T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77378#M1249224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try formatting the dual to string for set comparison like:&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; font-size: 13px;"&gt;=Sum({&amp;lt;Monat={"$(=&lt;STRONG&gt;Month(Date#&lt;/STRONG&gt;(GetFieldSelections(Monat)-1,&lt;STRONG&gt;'M'&lt;/STRONG&gt;)))"}&amp;gt;}Plan)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77378#M1249224</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-09T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77379#M1249226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...the part of the formula "-1" does not work for me. I think there is the problem. But I have no solution&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; font-size: 13px;"&gt;=Sum({&amp;lt;Monat={"$(=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month(Date#&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(GetFieldSelections(Monat)-1,&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'MMM'&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)))"}&amp;gt;}Plan)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77379#M1249226</guid>
      <dc:creator>neapicture</dc:creator>
      <dc:date>2018-04-09T10:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections-Function - calculate the previous month</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77380#M1249229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-Function-calculate-the-previous-month/m-p/77380#M1249229</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-09T10:46:19Z</dc:date>
    </item>
  </channel>
</rss>

