Absolute Value for My C Won

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Absolute Value for My C Won

Postby crzytimes » Fri Apr 25, 2025 9:59 am

This is simple and small, or maybe not.

Is there a way to get the absolute value of a stat? For example, if I want to make a copy of the "My C Won" stat, and get the absolute value for a "My C Played" stat, is that possible?

Mostly, I am looking to make a stat to know how much money has been won AND lost. I could probably make 2 stats as well...one for >0 and another for <0.
crzytimes
 
Posts: 9
Joined: Fri Oct 03, 2008 4:44 pm

Re: Absolute Value for My C Won

Postby crzytimes » Fri Apr 25, 2025 10:25 am

https://www.pokertracker.com/forums/vie ... ue#p343955

Found this thread. Solves most of my issue - is there a way to "sum" the total like "rake" and "My C Won"?
crzytimes
 
Posts: 9
Joined: Fri Oct 03, 2008 4:44 pm

Re: Absolute Value for My C Won

Postby Flag_Hippo » Fri Apr 25, 2025 12:59 pm

To sum the total for the summary line use this expression for the custom statistics 'Summary Type':

Code: Select all
format_currency(amt_won_absolute, false, global_currency)
Flag_Hippo
Moderator
 
Posts: 17104
Joined: Tue Jan 31, 2012 7:50 am

Re: Absolute Value for My C Won

Postby crzytimes » Sat Apr 26, 2025 10:33 am

Flag_Hippo wrote:To sum the total for the summary line use this expression for the custom statistics 'Summary Type':

Code: Select all
format_currency(amt_won_absolute, false, global_currency)



Wonderful, thank you :)
crzytimes
 
Posts: 9
Joined: Fri Oct 03, 2008 4:44 pm

Re: Absolute Value for My C Won

Postby crzytimes » Sun Nov 09, 2025 10:42 am

Right now - this stat is working fine, but I have to drill into each stake to see it. Is there a way to see it in the summary view? I can't seem to add it
Attachments
top level.png
(17.75 KiB) Downloaded 798 times
playthrough.png
(50.88 KiB) Downloaded 696 times
crzytimes
 
Posts: 9
Joined: Fri Oct 03, 2008 4:44 pm

Re: Absolute Value for My C Won

Postby Flag_Hippo » Mon Nov 10, 2025 7:31 am

That's a 'Hand' statistic for use in hand reports (reports showing individual hands) so it's not going to be available to use in a 'Player' report (a report showing player data). You will need to create a separate custom 'Player' statistic for use in player reports.
Flag_Hippo
Moderator
 
Posts: 17104
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 0 guests