• Hey again,

    there seems to be a bug in the playerdetails page when calculating an offense column using defense box score columns. I give an example for better understanding.

    I have a playerstats column which shows the amount of games played as a defense player/goalie. This column is calculated by a simple box score field where I enter “1” each time a player played as goalie. Lets call it “gpag” for games played as goalie. This box score field is set as a defense stat only.

    Now I want to have another playerstats column for the amount of games played as an offense player. This column is set as an offense stat only and uses the formula “eventsplayed” minus “gpag”. The problem here is, that when I use this formula the calculated value shows “0” even if there are more games played as an offense player than a goalie. But this only occurs on the playerdetails page. In the playerlists the values are calculated correctly.

    Player Lists: http://i.imgur.com/FvnYTdn.jpg
    Playerdetails: http://i.imgur.com/CB2By6s.jpg

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Roch

    (@rochesterj)

    Hi!

    Thanks for getting in touch!

    Let’s try to narrow down where the issue is. Please set your formula to just eventsplayed and let’s see how it works. Maybe that number isn’t working right

    Kind Regards,
    -Roch

    Thread Starter sagund07

    (@sagund07)

    Hey,

    already tried this. The problem only occurs if I mix up offense and defense stats in the calculation.

    If I use “eventsplayed” – “games played as a goalie” in the defense section it works properly. It only messes up when I try to calculate an offense stat by using a defense stat.

    Some other examples for testing purposes
    “fieldname”(field set as offense, defense or both categories)

    “any offense field”(offense) = “eventsplayed”(both) + “any defense stat”(defense) the result is 0 => incorrect

    “any defense field”(defense) = “eventsplayed”(both) + “any defense stat”(defense) the result is correct

    BUT VICE VERSA
    “any defense field”(defense) = “eventsplayed”(both) + “any offense stat”(offense) the result is correct => the problem only occurs in the offense section. In defense I can mix up offense and defense stats.

    Thread Starter sagund07

    (@sagund07)

    Any news on this one?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug when calculating with Offense and Defense Stats’ is closed to new replies.