Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a Qlikview dashboard, whose size changes with every reload. Hence i want to show the current size of the document(In MB) in a textbox. Kindly suggest.
Regards
Vidit
Previous file size is easy to get in your load script:
mySize = FileSize( DocumentPath() );
In Script:
let vFileSize = filesize(<Your qvw path and filename>);
Previous file size is easy to get in your load script:
mySize = FileSize( DocumentPath() );
from RF Manual,hope it helps.
FileSize( [ filename ] )
Returns an integer containing the size in bytes of the file filename or
if no filename is specified of the text file currently being read.
Examples:
filesize( 'xyz.xls' ) will return the size of the file xyz.xls.
Load *, filesize() as X from abc.txt;
will return the size of the specified file (abc.txt) as an integer in field
X in each record read.