Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate total reload processing time in qlikview

Hi,

I want to calculate total reload time for application, can any one help me on this.

thanks,

Rakesh.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Add

Let vReloadStartTime= NOW();

before your script...

Add

Let vReloadEndTime= NOW();

at the end of your script..

Now enter below formula in your Text Box Expression

=TIME(vReloadEndTime-vReloadStartTime,'hh:mm:ss')

View solution in original post

4 Replies
its_anandrjs
Champion III
Champion III

Code like

Let  vStart = now();

Table1:

Load

Statements

From Location;

Table2:

Load

Statements

From Location;

Let vEnd = now();

Then subtract vEnd  -  vStart

Then take a text box to get maximum time for reloading

=Timestamp(Timestamp(Timestamp#(vEnd,'DD/MM/YYYY hh:mm:ss'),'hh:mm:ss') -

  Timestamp(Timestamp#(vStart,'DD/MM/YYYY hh:mm:ss'),'hh:mm:ss'),'hh:mm:ss')

or you can create a variable like

let vTotReloadTime = Timestamp(Timestamp(Timestamp#(vEnd,'DD/MM/YYYY hh:mm:ss'),'hh:mm:ss')-Timestamp(Timestamp#(vStart,'DD/MM/YYYY hh:mm:ss'),'hh:mm:ss'),'hh:mm:ss');

Regards

MK_QSL
MVP
MVP

Add

Let vReloadStartTime= NOW();

before your script...

Add

Let vReloadEndTime= NOW();

at the end of your script..

Now enter below formula in your Text Box Expression

=TIME(vReloadEndTime-vReloadStartTime,'hh:mm:ss')

Not applicable
Author

Thank u very much Anand Chauhan,my problem is solved

Not applicable
Author

Hi Manish,

my problem is solved ,thanks a lot