<?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: Month processing issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122882#M1315366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post a small sample app ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 14:42:43 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2016-05-11T14:42:43Z</dc:date>
    <item>
      <title>Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122874#M1315342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I am using the following expression as part of Set analysis to derive PT values for a month (it works) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;MonthExp&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=Only(MonthExp))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;PT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;When I try to deribe the prior month's values, I am using the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; ({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;MonthExp&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 115%; color: gray; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Courier New'; mso-fareast-font-family: Calibri;"&gt;$(=Only(MonthExp)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;PT&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;) and instead of getting the previous month , i.e 'Mar' I am getting the value of 3 and not able to derive the prior month's values.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 115%; color: black; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Courier New'; mso-fareast-font-family: Calibri;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 115%; color: black; font-size: 9pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Courier New'; mso-fareast-font-family: Calibri;"&gt;Thank you&lt;/SPAN&gt;&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/Month-processing-issue/m-p/1122874#M1315342</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122875#M1315344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Value of 3? Can you may be share a screenshot or a sampl?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 12:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122875#M1315344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T12:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122876#M1315347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;create new variable to calculate previous month and use that in your set analysis.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Provide more details.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122876#M1315347</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-05-11T13:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122877#M1315350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why does -1 not work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122877#M1315350</guid>
      <dc:creator />
      <dc:date>2016-05-11T13:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122878#M1315353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;May be this: ( I don't know your date format, So change accordingly...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; ({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;MonthExp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Courier New'; color: #000000;"&gt;&lt;STRONG style="color: gray; font-size: 9pt; font-weight: inherit;"&gt;&lt;EM&gt;$(=Only(Month(MonthExp)-1))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;PT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122878#M1315353</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-05-11T13:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122879#M1315355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview store data in dual datatype.&lt;/P&gt;&lt;P&gt;Whenever you perform arithmetic operation on date it convert it into number .&lt;/P&gt;&lt;P&gt;therefore you are getting 3 instead of mar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 13:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122879#M1315355</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-05-11T13:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122880#M1315361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this this did not work&lt;/P&gt;&lt;P&gt;With MonthExp = 'Apr' , the result was '0' instead of 'Mar'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122880#M1315361</guid>
      <dc:creator />
      <dc:date>2016-05-11T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122881#M1315364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;I changed it to be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;MonthExp&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 12px;"&gt;&lt;STRONG style="color: gray; font-size: 9pt; font-weight: inherit;"&gt;&lt;EM&gt;$(=Only(Month((MonthExp)-1)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;PT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;and instead of 'Mar' it returned 'Jan'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;It looks like it's going back to the beginning of the quarter?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122881#M1315364</guid>
      <dc:creator />
      <dc:date>2016-05-11T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122882#M1315366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post a small sample app ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122882#M1315366</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-05-11T14:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122883#M1315368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create a new field in the script and call it MonthNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(Month(TempDate)) as MonthNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this in your equation&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; color: gray;"&gt;$(=Only(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;MonthNum&lt;/SPAN&gt;)-1)&lt;/EM&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;PT&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or completely get rid of Months because they are confusing and use dates instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -1), 'DateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;Date(MonthEnd(Max(Date), -1), 'DateFieldFormatHere')&lt;/SPAN&gt;)"}&amp;gt;} PT)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122883#M1315368</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122884#M1315371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using MonthNum really helped - Thank you very much&lt;/P&gt;&lt;P&gt;I have MonthNum in my column headings - is there any easy way to convert to the Month Name for presentation purposes?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122884#M1315371</guid>
      <dc:creator />
      <dc:date>2016-05-11T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Month processing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122885#M1315373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I guess continue to use MonthExp for the expression label so that you continue to see the month.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Also make sure you understand that when you use MonthNum... Things become difficult when its Jan. So make sure you really want to use month instead of date. &lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Now if you got what you wanted, I would request you to close the thread by marking correct and helpful answers.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Best,&lt;/P&gt;&lt;P class=""&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-processing-issue/m-p/1122885#M1315373</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T15:59:57Z</dc:date>
    </item>
  </channel>
</rss>

