Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Leverage your QlikView investment to modernize BI – see how! Join Group
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

Getting new date field withexisting two dates -please help

 
5 Replies
Highlighted
Creator
Creator

Re: Getting new date field withexisting two dates -please help

Alt dateTarg dateNo
1-Aug-182-Aug-1812
 3_aug-2018123
4-Aug-18 12345
  1234567
6-Aug-187-Aug-18123123
 8-Aug-181212
   

 

Now the Requirement is

 

Introduce new field call due date where the logic will be like below
a) If “Alt date” field is blank, then it captures the “Targ date” in the “due date” field.
b) If “Alt date” field has an entry, then it captures the “Alt date” in the “Due date” field.
c) If “Alt date” field and “Targ date” field are both populated, then it captures “Alt date” in the “Due date” field.
    
Highlighted
Creator
Creator

Re: Getting new date field withexisting two datesca -please help

can anyone please check and help

Highlighted
Creator
Creator

Re: Getting new date field withexisting two dates -please help

hi anyone please check and help

Highlighted
Contributor III
Contributor III

Re: Getting new date field withexisting two dates -please help

load
altdate,
targdate,

if( altdate <> null() and targdate <> null(),altdate,
if( altdate = null() ,targdate,

if( altdate <> null() ,altdate) ))as duedate,
no

Highlighted
Digital Support
Digital Support

Re: Getting new date field withexisting two dates -please help

Did the poster's comment help you resolve things?  If so, please be sure to give them credit by clicking the Accept as Solution button on their post.  If not, please leave an update on where things stand.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.