Export report with times/opportunities

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Export report with times/opportunities

Postby hagaic » Fri Apr 06, 2018 12:45 pm

Hi! When I make a player report, hovering over the stats shows times/opportunities.
However export to CSV gives only the percentages.
Anyway to get the times/opportunities in the export?
hagaic
 
Posts: 16
Joined: Tue Aug 25, 2015 3:43 pm

Re: Export report with times/opportunities

Postby WhiteRider » Sat Apr 07, 2018 4:39 am

There isn't a general way to do that - you would need to make a custom stat version of any stats you want that data for. In this case it isn't too much work, although you'd need to do it for each stat - you'd just need to change the format expression for the stat to display what you want. Something like this:

More realistically, you might use this format expression:
format( '{1}% ({2}/{3})', (cnt_steal_att / cnt_steal_opp) * 100, format_number(cnt_steal_opp,0,false,false), format_number(cnt_steal_att,0,false,false) )
..which would display as:
60% (12/20)

..which is from this guide. (This was written for PT3, but the same principals apply to PT4)
WhiteRider
Moderator
 
Posts: 53961
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Export report with times/opportunities

Postby hagaic » Sat Apr 07, 2018 11:48 am

OK, thanks.
hagaic
 
Posts: 16
Joined: Tue Aug 25, 2015 3:43 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 17 guests

cron
highfalutin