Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sharathkolluru1803
Contributor II
Contributor II

Prior Month and Year calculation, if current month is January

Hi All,

Please help me in creating the calendar script for the following fields if any of the date is supplied.

If the dates selected like, Date=10/12/2019 or Date=10/01/2020 or Date=10/02/2020 current_month, current_year,prior_month and prior_month_year should be generated respectively shown in the table.

current_monthcurrent_yearprior_monthprior_month_year
Dec2019Nov2019
Jan2020Dec2019
Feb2020Jan2020

 

Thanks in advance.

0 Replies