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: 
soniasweety
Master
Master

display days

Hi all,

\

I am calculating the days     but am getting the wrong out output

11 Replies
its_anandrjs
Champion III
Champion III

It seems you need this on the Load script then try this way to load on the Load Script

Load *,

Interval( Date(Date#('7/19/2017','M/DD/YYYY'),'M/DD/YYYY') - Today() ,'D') as  [Open Days],

Interval( Date(Date#('7/19/2017','M/DD/YYYY'),'M/DD/YYYY') - Today() ,'D') as [Last Updated Days]

Replace this lines for your fields and let me know what result you get.

Or May be this or change the field name please in your load script

Interval( Date(Date#('7/19/2017','M/DD/YYYY'),'M/DD/YYYY') - Today() ,'DD') as  [Open Days],

Interval( Date(Date#('7/19/2017','M/DD/YYYY'),'M/DD/YYYY') - Today() ,'DD') as [Last Updated Days]

soniasweety
Master
Master
Author

thanks anand,I will check and update you