Creating a custom field module
views_report_state_field.inc

class views_report_state_field extends views_handler_field {
  function query() {
    // Query
  }

  function render() {
    return "working!";
  }

}