Expression function only returns value for first row in TIBCO Spotfire