Number of players grouped by color labels.

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny

Number of players grouped by color labels.

Postby D0u8leTr0u8le » Sat Feb 20, 2021 5:38 pm

I created a statistics report which is broken down by color labels. How to create a stat that will display the number of players for the corresponding color label.
D0u8leTr0u8le
 
Posts: 2
Joined: Tue Jan 31, 2012 6:40 am

Re: Number of players grouped by color labels.

Postby Flag_Hippo » Sun Feb 21, 2021 2:42 pm

I don't know of a method to build a statistic to display that information in your report but if you just want the player totals for each color you can filter an 'All Players' report (including the 'Player' statistic) with this expression filter to get those numbers:

Code: Select all
N in (select id_color from notes where id_x=cash_hand_player_statistics.id_player)

where N is the note color number (1 is yellow, 2 is green and so on in the order of the colors listed in the note editor).
Flag_Hippo
Moderator
 
Posts: 10923
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 6 guests

cron
highfalutin