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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Application continuously reloading data

Good day,

I have an QVW application which constantly reloads data and I do not know why this is happening.

In my script I defined a variable as a measure:

SET M_L_CURR_YEAR_LOAN_PAYOUT    =sum(if(Year(LOANTRAN_TDATE) = Year(Now())   and LOANTRAN_LU_TGROUPTYPE_DESC = 'PAYOUT' ,[LOANTRAN_CAPITAL],0));

I make use of these variables in my graphs where I set the expression to:

=$(M_L_CURR_YEAR_LOAN_PAYOUT)


I do not know if this is causing the constant refreshing of data ?!

When I open the specific sheet the data continuously refreshes with the hour glass popping up and the progress bar.

Is this due to the "dynamic" variable ?

The value being displayed is correct on the graph - So the "measure" variable is calculating correctly.

Thank you in advance for your feedback.

Kind regards

Edwin

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The refresh is only refreshing the expression value and causes recalculation of the charts. It doesn't reload the data. What you see is caused by the now() function, which will update each second. Perhaps the today() function is more appropriate here.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The refresh is only refreshing the expression value and causes recalculation of the charts. It doesn't reload the data. What you see is caused by the now() function, which will update each second. Perhaps the today() function is more appropriate here.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thanks yes that was it.  Was not aware that expressions recalculate that way.  Also very interesting to know.  So one can use that to have a "live" dashboard.  Might come in usefull at some point in time.

Thank you very much.