With the Tibco software Spotfire is there a way to easily add a point to the current displayed scatter point which is the average of the other points on the plot?
NOTE for my case there will be filtering, ie I have 3 columns of data
myCategory X Y cat1 1 1 cat1 2 2 cat2 10 10 cat2 20 20
So essentially when I filter and select cat1 I would like 3 points 1,1 ; 2,2 and 1.5,1.5
similarly with cat 2 selected I would like the extra point 15,15 displayed.
Is there a way to accomplish this?
NOTE: I think the OVER() function might be useful to calculate an average. Also it might be possible to do it by adding a calculated column with the average, but it would be better if I had a solution without an additional column since the dataset is huge.