Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
neemu's picture
Asked by on Wed 22nd Jun 2011
Using computed field or view custom field to calculate couple of cck fields of same content type!

I’m creating a sports website. I’ve creates a content type “player_stats” and under it I have fields like “field_runs_scored” and “field_balls_played”. Now I wanted to calculate the Strike Rate and for that the formula is:
“field_runs_scored / field_balls_played X 100”
I’ve installed the “computed field” and “views custom field” modules but since I’m not good in php or mySql, I just couldn’t figured out how to do this. So please help me out here!!!

Commenting on this Drupal Question is closed.