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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

variable updation issue

Hi all,

I am storing tables count in variables and updating them daily, but the variables which i created always showing first fetched count only,

So kindly need solution to update them for every reload.

I just declaring variables like this

Let vBILLMASTER=NoOfRows('BILLMASTER') ;

..

Thanks in advance


Vijay

12 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Prove it. Please post a qlikview document and some source files that demonstrate this behavior.


talk is cheap, supply exceeds demand
Anil_Babu_Samineni

Yes, If some one adding the row for your Data source. Absolutely it should work

As Gysbert said, You may prove that. Why it won't work by using scrambling data. So, We may help lot

What you want to count especially. Have you created any inline memory data

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
shambhub
Creator
Creator

Hi Vijay,

Please write a script like below to store the record count in table on daily bases.

BILLMASTER:

LOAD F1, F2 INLINE [

    F1, F2

    A, 10

    B, 20

    C, 40

    D, 45

];

Let vBILLMASTER=NoOfRows('BILLMASTER') ;

Record_Count:

Load $(vBILLMASTER) as NoOfRows, now() as Date

AutoGenerate(1);

Concatenate

History_Record:

Load NoOfRows, Date From Record_Count.qvd;

Store Record_Count into Record_Count.qvd(txt);