How to get calculated dimension value of #DIM