Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Create log per second if you have start and end time

Hi,

If i have the following information:

Date

StartTime

Duration (in minutes)

is it possible to create a script where i log each active minute?

In other words, if one line of data contains duration 10 minutes, I would like to build a script that creates 10 lines of data, one line for each minute.

Best Regards

//Hajman

1 Solution

Accepted Solutions
MVP
MVP

Create log per second if you have start and end time

Hi Hajman,

you could add a while criterion to your load, maybe like:

LOAD

Date,

StartTime,

Duration

from TABLE while iterno() <= Duration;

Regards,

Stefan

2 Replies
MVP
MVP

Create log per second if you have start and end time

Hi Hajman,

you could add a while criterion to your load, maybe like:

LOAD

Date,

StartTime,

Duration

from TABLE while iterno() <= Duration;

Regards,

Stefan

Not applicable

Create log per second if you have start and end time

Thanks a lot Stefan, now it works as planned!

/Hajman

Community Browser