Access the multi value dimension in JavaScript aggregator for the topn query

HI All

I am writing a JavaScript aggregator for one of my query. I have one multi-value dimension, named it as a MV_dim1 which is list of integers. While making the Top-n query on this MV_dim1 dimension i want to access the value of this dimension for which this aggregator is called.

If I passed the dimension name in the “fieldNames” properties, it provide me all the values of this dimension, where as I am interested in knowing only that value for which this aggregator is called.

In single value dimension , i can get the value from the said dimension field, but in case of multi-value dimension how I can access the value for which aggregation is happening?

Thanks

Himanshu