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

Interval

What is concept of interval in qlikview ? can any one tell me with the help of example ?

5 Replies
sarvesh
Creator III
Creator III

Hi..Dhaval,

Interval - script and chart function

Interval() formats a number as a time interval using the format in the system variables in the load script, or the operating system, or a format string, if supplied.

Intervals may be formatted as a time, as days or as a combination of days, hours, minutes, seconds and fractions of seconds.

Syntax:

Interval(number[, format])

Return data type: dual

Arguments:

ArgumentDescription
numberThe number to be formatted.
formatString describing how the resulting interval string is to be formatted. If omitted, the short date format, time format, and decimal separator set in the operating system are used.
Anonymous
Not applicable

One of the use of interval is to calculate between 2 days

I prepare a Sample for u ,to understand what I say

Frank_Hartmann
Master II
Master II

Also have a look into class function if you need to assign an expression to an interval!

hope this helps

sarvesh
Creator III
Creator III

Please mark "Helpful" and "Correct" to close this thread, if your doubt has been cleared.

Regard's

Sarvesh Srivastava