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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Expression Help

i have posting date in DD/MM/YYYY format and one field No of days in days format like 20 days, 30 days

i want to add Posting Date + No of Days

what would be expression?

12 Replies
abhaysingh
Specialist II
Specialist II
Author

what is DAYSdays...

its_anandrjs
Champion III
Champion III

Hi Abhay,

In the fields you have data 20 days, 30 day so for getting 20,30... we have to remove day string from field for this i use Purgechar to remove day, days or DAYS if this string in the field then this string removes from the field and you get 20,30....

You can try

Date( Date(Date#([Posting Date],'DD/MM/YYYY')) + Purgechar( [No of Days], 'days') )

Regards,

Anand

alkesh_sharma
Creator III
Creator III

Purgechar function removes the characters from the field value.

For eg: purgechar(abc123,'123') output is abc, therefore the characters 123 has been purged/removed