Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Month Function

hi All,

I need to store a value in the variable of last month in this format '07/17'

Month(Today()) gives value as Aug

Month(today())-1 gives value as 07

but I need the output as 07/17

please advise

thanks in advance

Sukhwant

1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

=num(Month(today())-1,'00')&'/'&right(Year(Today()),2)

View solution in original post

2 Replies
sunny_talwar

May be this

Date(MonthStart(Today()), 'MM/YY')

Frank_Hartmann
Master II
Master II

=num(Month(today())-1,'00')&'/'&right(Year(Today()),2)