Pivot Chart Custom Formula

Pivot Chart Custom Formula

I'm trying to create a chart using the difference between two dates in the record. The attached screen shot is the error I get.  Where is this "Custom Formula" option?