Is it possible to create a calculated field where sum of a field is divided by the Reference Line value?
Yes! Reference lines and just another table calculation. For example the default reference line value is average and the calculation is: WINDOW_AVG((SUM([Sales])), FIRST() , LAST() ).
Post some more specific examples and I can help you write the calculations.