Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

andreyfcdk91
New Contributor III

Closed month name flag

Good day!

In load script i have flag:

month(today()) as CurrentMonthName.

is there any way to make similar field, but for closed month?

For example. today is 01.12.2015

month(today()) = 'Dec'

necessary flag = 'Nov'


Thanks.

1 Solution

Accepted Solutions
MVP
MVP

Re: Closed month name flag

You mean last month? Try like:

Month(Addmonths(Today(), -1))

2 Replies
MVP
MVP

Re: Closed month name flag

You mean last month? Try like:

Month(Addmonths(Today(), -1))

andreyfcdk91
New Contributor III

Re: Closed month name flag

Thx)

Community Browser