Hello
recently found this thread https://www.pokertracker.com/forums/viewtopic.php?f=61&t=44346 for a custom report based on hand group on the flop.
Is it possible to have it display % of the total as opposed to hand counts?
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
Flag_Hippo wrote:You will need to build custom statistics to do that. Also if the report is grouped like that then you will only see the % as a total of all hands on the summary row (for each grouped row a custom statistic like that would display 100% or 0%).
ethanrox wrote:How do I see the %.
ethanrox wrote:If you take the "Bet Flop Size" statistic as example and the column behind it, you basically use it for the groupings. For the % of total stat it should use somehow the cnt_hands?
sum(if[cash_hand_player_combinations.flg_f_highcard, 1, 0])
(cnt_f_highcard / cnt_f_saw) * 100
if[cash_hand_player_statistics.flg_f_saw,1,0]
SELECT
( ( CASE WHEN ( cash_hand_player_statistics.flg_f_saw ) THEN 1 ELSE 0 END ) ) AS "val_f_saw",
( SUM ( ( CASE WHEN ( cash_hand_player_statistics.id_hand > 0 ) THEN 1 ELSE 0 END ) ) ) AS "cnt_hands" ,
( SUM ( ( CASE WHEN ( cash_hand_player_statistics.id_hand > 0 ) THEN 1 ELSE 0 END ) ) ) * 100.0 / SUM(( SUM ( ( CASE WHEN ( cash_hand_player_statistics.id_hand > 0 ) THEN 1 ELSE 0 END ) ) )) OVER () AS Percentage
FROM
cash_hand_player_statistics
WHERE
( cash_hand_player_statistics.id_player = ( SELECT id_player FROM player WHERE player_name_search = E'ethanrox' AND id_site = '1100' ) )
AND ( ( cash_hand_player_statistics.id_gametype = 1 ) )
GROUP BY
( ( CASE WHEN ( cash_hand_player_statistics.flg_f_saw ) THEN 1 ELSE 0 END ) )
sum(if[cash_hand_player_statistics.id_hand > 0, 1, 0])*100/sum(sum(if[cash_hand_player_statistics.id_hand > 0, 1, 0]) over ())
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 82 guests