by PJs Ronin » Tue Jan 10, 2012 7:29 pm
I think I've found the problem.
It seems that during the PT4 install, or perhaps after that when I imported some reports, some of my old user defined stats from PT3 were incorporated into PT4. The Allin Equity stat I was trying to 'average' was based on a stat/variable called val_allin_equity (the blue variable in my post above), however there was a defined column in PT4 also called val_allin_equity. I could not change the parameters of the blue val_allin_equity because PT4 was telling me something like "can't name a stat/variable same as column". This column had a summary type of 'sum' and that was being reflected in every report I created with the All In Equity stat.
Solution was to delete spurious blue val_allin_equity and duplicate the val_allin_equity column and set summary type to 'average'. I could then rebuild/duplicate the All in Equity stat and everything now works as it should.
Note to developers. Seems PT4 was happy to allow the conflict between the column and the user variable to exist, so long as I didn't change anything.