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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
razyorazyo
Contributor II
Contributor II

CALCULATE DATE

Hi

I have field which its type is AlphaNumeri and contains date of the following format :20180424.

2018 - year

04 - month

24 - day

I need to relate each date to right week of the year and I do it with interval match command.

now ,I need , for each date ,to calculate the date 7 days before and then relate  it to the correct week.

how can I calculate the new date without changing its format or calculate and converting the new date to the original format?

Thanks

Raz

Labels (1)
1 Solution

Accepted Solutions
sasiparupudi1
Master III
Master III

Great, pl close this thread by marking a correct and any helpful answers

View solution in original post

3 Replies
sasiparupudi1
Master III
Master III

Date(Date#(20180424,'YYYYMMDD')+7,'YYYYMMDD')

razyorazyo
Contributor II
Contributor II
Author

Great.

its working.

Thanks

sasiparupudi1
Master III
Master III

Great, pl close this thread by marking a correct and any helpful answers