Difference Between ForEach and ForALL ?

Hi Everyone,

Can you please tell me what is the difference between ForEach and ForAll (In BO Reporter), and give examples of when they are needed ?. Much appreciated !.

Thanks in advance,
Veronica

Questions by Veronica316

Showing Answers 1 - 3 of 3 Answers

For each – The For Each context operator allows you to add dimensions to the current default input context. For example, if a table contains the dimension [year] and [Quarter] and the measure [revenue], the default context is [year]; [Quarter]. The For Each context operator is used to add [sales person] dimension to the context (without adding [sales person] to the table).
For All - The For Each context operator allows you to remove dimensions from the current default input context. For example, if a table contains the dimension [year], [Quarter] and [Sales Person] and the measure [revenue], the default context is [year]; [Quarter]; [Sales Person]. The For All context operator is used to remove [sales person] dimension from the context (without removing [sales person] from the table).


Thanks, Vani

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions