Addition of new variable TTM PE

Is it possible to add the variable TTM (trailing twelve month) PE ration for companies?