"Hands in K" and format expression question

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: "Hands in K" and format expression question

Postby andy2001 » Mon Apr 30, 2012 9:08 pm

Heres my atempt it validates, but shows up as "Expresion invalid operation specified in expression" when I try to use it.
Image
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: "Hands in K" and format expression question

Postby WhiteRider » Tue May 01, 2012 4:19 am

It looks like you have your IF statements a little messed up.
If you want to nest IFs you need to do it like this:
if( x, 'this', if( y, 'that', if( ... ) ) )

My version is attached, although it doesn't have the "111" part that you have.
Attachments
VPIPx.zip
(811 Bytes) Downloaded 177 times
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: "Hands in K" and format expression question

Postby andy2001 » Tue May 01, 2012 10:59 am

Ok that seems to work. The only issue I can see with it is you can't get it show the sample size.
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: "Hands in K" and format expression question

Postby kraada » Tue May 01, 2012 11:40 am

If you change the value expression to exactly:

( cnt_vpip / (cnt_hands - cnt_walks)) * 100

It should show that properly. The stats need to be in exactly ( X / Y) * 100 format for the times/opportunities property to work.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: "Hands in K" and format expression question

Postby andy2001 » Tue May 01, 2012 1:48 pm

It seems to already contain "(cnt_vpip / (cnt_hands - cnt_walks)) * 100"

Code: Select all
if (( (cnt_vpip / (cnt_hands - cnt_walks)) * 100) > 99.5, '99', (format( '{1}{2}', if  (((cnt_vpip / (cnt_hands - cnt_walks)) * 100) < 9.5, '0', ''), format_number( ((cnt_vpip / (cnt_hands - cnt_walks)) * 100), 0, false, false) ) ))
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: "Hands in K" and format expression question

Postby kraada » Tue May 01, 2012 4:16 pm

Not the format expression the Value Expression in the top box. You have it as ( 100*(cnt_vpip / (cnt_hands-cnt_walks))) in the screenshot above.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: "Hands in K" and format expression question

Postby andy2001 » Fri May 25, 2012 12:33 pm

This is my RFI stat apart from no sample size, it will not filter by position when I set it in the HUD.
Image
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: "Hands in K" and format expression question

Postby kraada » Fri May 25, 2012 3:48 pm

That's because of your value expression - you probably want that to be:

(cnt_p_raise_first_in / cnt_p_open_opp) * 100

That way the stat has the right value you just see your specialty display that you prefer.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: "Hands in K" and format expression question

Postby andy2001 » Fri May 25, 2012 4:06 pm

But if do that I won't have the format capping it at 99, so I may as well use the defualt stat.
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: "Hands in K" and format expression question

Postby kraada » Fri May 25, 2012 4:17 pm

The format expression will still control what you actually see on the table, that won't change.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

PreviousNext

Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 49 guests

cron