Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filling nulls

Hi All,

I have a link table with nulls i need to replace with actual date.

"Link Date nulls to be replaced with Task_closed_at "

1.PNG

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at the attached application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

8 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Change your script part to below.

Temp2:

Load *,num(interval(task_closed_at-[Link Date]),'#,##0') as age;

Load *,

//task_closed_at,

//if(isnull(task_opened_at), task_closed_at,task_opened_at) as task_opened_at,

if(Isnull([Link Date]),task_closed_at,[Link Date]) as [Link Date],

task_opened_at,

     task_closed_at

Resident Temp;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Its not working the same result with nulls.

Anonymous
Not applicable
Author

Hi,

Are you getting any error message if you follow Kaushik Script?

Not applicable
Author

No,but its giving same results what i have

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Kindly upload the PENDING.xls file so that I can reload the application and check the issue.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

PFA of pending.xls

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at the attached application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
petter
Partner - Champion III
Partner - Champion III

This seems to be a cross-post of exactly the same issue on the same application made by two different members... Really strange. Please don't cross post - it waste a lot of time for others trying to help and it is very disrespectful.

Date generating issues