Coloured Stats - NA value

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Coloured Stats - NA value

Postby moretears » Fri Oct 09, 2009 9:35 am

I've done a search but cant quite find what I need.

I have a stat on my HUD: "Fold Cbet to Raise" defined as how often a player Cbets then folds when facing a raise.
It is coloured by a second stat, namely: "Folds to Cbet in a 3 bet pot"

The issue I have is that unless the numerical stat ("Fold Cbet to Raise" in this case) has a value other than NA, the colouring stat doesn't *work*.

In other words, I would expect the NA displayed to be coloured "green" (for example) if the player had never faced a raise having c-betted the flop
but happened to fold to a Cbet in a 3 bet pot 40% of the time. Instead, it just shows as a rather dull grey.

Many thanks with this.
moretears
 
Posts: 4
Joined: Fri May 15, 2009 5:03 pm

Re: Coloured Stats - NA value

Postby kraada » Fri Oct 09, 2009 11:08 am

This is a known issue that is on our list of issues to fix for a future release.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Coloured Stats - NA value

Postby moretears » Fri Oct 09, 2009 11:47 am

Thanks for the prompt response.

I am assuming that there is no way of conditioning the output of the first stat (in a similar vein to "if it is less than 30 then 'X'" which I have seen appied elsewhere) so that if it is non-numeric, you can force it to be something impossible e.g. "-1", or irrational e.g. "Pi" or will this not work?

I could always reconfigure my HUD, so it is no big deal.
moretears
 
Posts: 4
Joined: Fri May 15, 2009 5:03 pm

Re: Coloured Stats - NA value

Postby kraada » Fri Oct 09, 2009 11:52 am

You could try that, but I think the NA value overrides these things. The easiest way to test would be to set something special for when opportunities are 0, as that's when NA gets called.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests