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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

how to get previous month date from a field in edit script?

Hi,

I am getting data from database and storing it in QVD.

I want to get latest date -1 (previous month date) from a field in the edit script.

how i can get it?

2 Replies
rajeshvaswani77
Specialist III
Specialist III

Use addmonths(DateField,-1)

MayilVahanan

Hi

Try like this

addmonths(DateField,-1) to get the previous month

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