Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Copy some data with loop - Business Rule

Alex1May 23 2016 — edited Sep 15 2016

Hi experts!

I need to do a calc in my PBCS application developing a business rule.

I have a dimension on columns called Days and I fill value of my account1 into Calc_Account during Nextdays (number of days is Account2).

For example:

For D1 I would need to copy value for account1 into calc_account from same day to next 3 (total 4), so in Calc_account should have:

pastedImage_0.png

For D2 in my example I need to copy value of Account1 into Calc_account (sameday) and next 2 (total 3) with sum other values if exists. Like:

pastedImage_1.png

In my example from D2 until D4 I'll have value=8 (because I had 5 from D1 to D4, and 3 of D2 to D4)

pastedImage_2.png

I think that I have to use a loop but I don't know how to implement

Could you help me about this?

Thanks!

This post has been answered by Julien Mallet on Jun 6 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 19 2016
Added on May 23 2016
43 comments
5,833 views