Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

Change value into the field

Hello, The client sent me many information in different format. Many of the came with the wrong data. For example the file is called October 2011, however, the column had 02/11/2011. So What I was doing was export the files to txt files and replace the dates (Store table Into Table.txt(txt)) But the 2 last file were too much heavies. How can I do for change directly into the script and change for example 02/11/2012 for 02/10/2012.

Thanks!

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this,

addmonths(DateField,-1)

or

SetDateYearMonth()

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

1 Reply
MayilVahanan

Hi

Try like this,

addmonths(DateField,-1)

or

SetDateYearMonth()

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.