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

Simple calculation in Script

Hello,  In my data table I have Start Date and Finish Date. 

How can I add a new dimension - Days to Finish?  (Finish Date-Start Date)

Thanks Paul

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Use Interval()

Like

Interval(FinishDate-StartDate,'D hh:mm') as Daysto Finish

for details see in help menu about interval()

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

2 Replies
bazzaonline
Creator
Creator
Author

Sorry, I want to create something in the script.

PrashantSangle

Hi,

Use Interval()

Like

Interval(FinishDate-StartDate,'D hh:mm') as Daysto Finish

for details see in help menu about interval()

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂