It's a good approach. I also use raw data to show students that repeated values is the reason for using sum (FX). I'd usually let students do it their way by adding all values and dividing by the sample size and I show them the logic of the formula afterwards. I have shared it with my Faculty.