Dan_Jazz_Man wrote:1. Switched to the if[] syntax but that didn't change anything - the report still shows every player multiple times
I don't know what you are currently using but your custom columns will need to be in the following format:
- Code: Select all
sum(if[expression, then, else])
The thread I linked you to in my original reply uses columns similar to the ones you will need.
Dan_Jazz_Man wrote:2. val_r_bet_size does exist in Statistics -> Columns. It's defined like this
That is a database column and it does not form part of the database schema. Columns are built using elements from the database schema such as
cash_hand_player_statistics.val_r_bet_made_pct which is being used in this column. Also this column is used to group statistics in a report so it's not suitable for what you are trying to create.
Dan_Jazz_Man wrote:3. flg_r_tp is my custom column
You cannot reference columns in other columns. Columns are built using elements of the database schema. Statistics use columns. Please refer to
this guide for the basics on custom statistics creation and
this guide for a deeper walkthrough. While the latter was written for PokerTracker 3 and the user interface is different the techniques still apply to PokerTracker 4. We have not published the schema like we did for PokerTracker 3 however you can find the files used to create the database in your PokerTracker4 installation folder:
C:\Program Files (x86)\PokerTracker 4\Data\SchemasThe meaning of database fields with the same names haven't changed in any significant way from PokerTracker 3.
PokerTracker 3 Database Schema Documentation