bloodndef wrote:A question for ya,
How can we find the top/bottom 10% or 25% of a stat?
Take VPIP for example: how do I create a report that shows the players with the highest 10% VPIP? And can we have a stat reference this calculation?
Thank you for shedding the light on this.

First of all, I don't use PT3 custom reports, I use pgAdmin III and SQL.
But it goes roughly like this:
a) I create a query that retrieves a list of players and their VPIP values, and here I would use a HAVING-filter to get only players that have, say, >500 hands because that certainly would be enough to have a stable VPIP value for a player. On the query I have sorting done descending by VPIP-value so that the highest values are on the top.
b) Let's say I get back 1000 rows, each having the VPIP value for a single player. Of this 1000 I obv calculate that top 10% = 100 players and top 25% = 250 players.
c) Then I modify my query a bit, adding LIMIT 100 at the and and running the query again. Now I have 100 rows returned and the LAST ROW now shows me the LOWEST VPIP that the TOP-10% players have. Let's say that it is 40% -> Now I know that 40% is the threshold that separates the top-10% players from the other players. And then repeat the same with 25.
Once I have those threshold values figured out, I use them in the PT3 custom stats to set the display thresholds for my mnemonic stats.
Kraada might respond your particular questions regarding PT3 reporting, but that's how I do it manually.