There are major Three Context Operator use in the calculation.
ForAll : Operator Remove the Dimension form the Calculation context.
ForEach : Operator Add the Dimension From the Calculation Context.
In : Operator give you calculation from the scratch.
Both ForEach and ForAll Operatators are context operators.ForEach allows us to define groups within the data context for our calculations.Whereas ForAll allows us to instruct Business Objects which dimensions in the report context will not affect our calculations.