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: 
ParthKoul1
Contributor
Contributor

Date

Hi Everyone, 

 

I need some help in getting records for only past 18 months from today's date. 

 

Load
if(len(PORCMD) = 4, mid(PORCMD,1,2) & '/' & mid(PORCMD,3,2) & '/' & ((((PORCCC + 19 ) * 100 ) + PORCYR )),
if(len(PORCMD) = 3, mid(PORCMD,1,1) & '/' & mid(PORCMD,2,2) & '/' & ((((PORCCC + 19 ) * 100 ) + PORCYR )),'')) AS [Date Required]

 

is my Date column. 

 

Also kindly mention while putting in the where clause should it be pre loaded ? 

Labels (1)
0 Replies