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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
YanMin
Contributor III
Contributor III

If Load statement

Hi, 

Can anyone help me with following if load statement. My files got different column names. So what I want to do is after certain date, I want load different column name. My codes is as follows: 

if(Date(right(FileBaseName(),8))<Date('20210405'),

"Wishlist Visitor","Wishlist Visitors") as "Wishlist Visitor",

The spelling of column name is different for the files that is before that specific date. That codes seems no work.

Can anyone help?

Thanks in advanced

 

10 Replies
YanMin
Contributor III
Contributor III
Author

Well noted.

 

Thank you sir