Home Analytics Designing reports
The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

remove dataset records if null on fetch

When I write the following code on fetch for dataset

var tmpArray = reportContext.getPersistentGlobalVariable("timeValues");
if (tmpArray.contains(row.Timeslice) == false && row.Timeslice != null)
tmpArray.add(row.Timeslice + '-'+row.GroupNo + '-'+ row.Type + '-'+ row.Value);

reportContext.setPersistentGlobalVariable("timeValues", tmpArray);

How to remove null


Sign In or Register to comment.