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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Vidit
Creator
Creator

Show size of qlikview document?

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

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

Previous file size is easy to get in your load script:

mySize = FileSize( DocumentPath() );

View solution in original post

3 Replies
m_woolf
Master II
Master II

In Script:

let vFileSize = filesize(<Your qvw path and filename>);

petter
Partner - Champion III
Partner - Champion III

Previous file size is easy to get in your load script:

mySize = FileSize( DocumentPath() );

buzzy996
Master II
Master II

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.