When calculating a series of dimensions, you can optimize performance by grouping the dimensions wherever possible.
For example, the following formula causes Essbase to cycle through the database only once:
CALC DIM(Year, Measures);
In contrast, the following syntax causes Essbase to cycle through the database twice, once for each CALC DIM command:
CALC DIM(Year); CALC DIM(Measures);