How to pass a calculated field into a header?