Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
New Contributor III

Create a vbscript function to format a number in load table

How can i create a vbscript function that format a number? I need to use this function in a load statement

something like this:

/* in thevbscript */

sub FormatFunction(field)

FormatFunction = num#(Cost, '#.#', '.', ',')  


en sub

/* in the qlikview editor */



FormatFunction(comision) AS Comision,

FormatFunction(fee) AS Fee


Community Browser