These Pokertracker 4 stats written by coon74 enable creation of reports showing Hero's winnings vs certain types of villains (determined via custom filters).

How to use them:

1. Create a player report with the 'Player ID' stat (found under 'Information') first to learn Hero's ID <HeroID> in the database.

2. Create an all players report and add #Player ID# <> <HeroID> as a custom filter.

3. Add other custom filters to determine the type of villains included in this report (e.g. #VPIP# > 60 for loose villains, etc.).

4. Edit the columns amt_bb_won_vs_active and amt_won_vs_active_curr_conv manually in Configure -> Statistics so that the correct <HeroID> is used there instead of my ID=2 (read in their descriptions where to do so and how to make them calculate post-rakeback winnings if you wish).

5. Add either of the 'BB Won Vs Active Player' or 'My Currency Won Vs Active Player' stats (found under 'Results'). They'll show how much *Hero* has won vs players of this type. Don't use both as they're painfully slow (take 10-15 minutes to count on a 100K-hand DB), I know no way to make them faster as the developers have said many times that 'Vs Villain' stats are not their priority.

(A note about rake: in the columns, 'antiattributed rake' - the share of the rake paid in pots won by villains proportional to Hero's contribution among the losers of the pot - is subtracted because otherwise Hero's winnings would be bigger than the true ones by the amount of attributed rake. For most players, attributed, weighted contributed and antiattributed rake amounts are close. I opted not to subtract attributed rake instead because it would slow reports down - I try to invoke nested SELECTs as seldom as possible.)