DatAlessia
DatAlessia

Reputation: 83

Aggregating in SAP Business Objects Webi

I think the issue is fairly simple but I can't manage to get to the result.

I would like to aggregate the result for each store, but keeping in the report all the rows, including the Client and Purchase ones:

Store Client Purchase DesiredColumn
Store1 Client1 20 50
Store1 Client2 30 50
Store2 Client3 100 600
Store2 Client4 500 600

I tried something along the lines of Sum and ForEach(Store), but it returns the same exact values for "Purchase".

Does someone know if this is possible at all (and without hierarchies, cause I can't work with them)?

Thanks in advance!

Upvotes: 0

Views: 481

Answers (1)

Isaac
Isaac

Reputation: 3363

Give this formula a try...

=Sum([Purchase] In([Store]))

This will also work...

=Sum([Purchase]) In([Store])

enter image description here

I cannot fully explain the difference. If you want to do more research the topic is "Calculation Contexts". This article has been particularly helpful to me.

Upvotes: 0

Related Questions