## Calculation Inquiry

Regular Contributor

## Calculation Inquiry

Hi,

PLease see details in the attachment.

Regards,

7 ACCEPTED SOLUTIONS

Accepted Solutions
Moderator

## Re: Calculation Inquiry

You will have to create a SYS TIME module and have a mapping between Native Time and Counter Time. For Example Jun 2020 will be Month 10 something like that. Once done you can easily use LOOKUP based on the mapping and pull the values. Let me know if you want me to create an example for you

Regular Contributor

## Re: Calculation Inquiry

Hi Misbah,

Thank you for the response. I kinda figured that this is going to use the LOOKUP function. Is it ok if you can show me how to do this approach?

Regards,

Community Boss

## Re: Calculation Inquiry

Hi @Jsdeloria21 -

Thanks,

Sorna Raja Prabhu
Certified Master Anaplanner

## Re: Calculation Inquiry

Hi @Jsdeloria21 ,

I think we need to create a staging module with Payment Scheme, Time, and Counter Time as lists.  This will enable us to calculate the installment for each principal amount. The final module will summarize this staging module.

From your example, I notice that percentage split is always input from Month 1, no matter the real Month when the principal amount is issued

The first staging module is to perform the calculation for each principal

The second staging module is to summarize the payment for each Counter Time using TIMESUM

The result module needs to convert the Counter Time to Anaplan Time using SUM.  Here is shown the Oct 19 - Dec 19 (which corresponds to Oct 18 - Dec 18 in your example)

In addition, we need the mapping module that @prabhu showed, and for my example the reverse mapping module which are derived by formula from the original mapping

Regards,

Andre

Certified Master Anaplanner

## Re: Calculation Inquiry

No problem.

I have a Counter Time Mapping module to assign Counter Time to Anaplan period manually.  Month 1 should be mapped to the first period in the Time Settings.  In my case, Time Settings starts from Jan 19

Then I have the reverse mapping in Time - Counter Time Mapping module, which is derived from Counter Time Mapping module.

Here is Principal Staging formula, for 2 line items in question

Data from Principal Staging goes to Principal Staging 2

Finally from Principal Staging 2 to Payment module

Let me know if you have further questions.

Regards

Andre

Certified Master Anaplanner

## Re: Calculation Inquiry

Hi @Jsdeloria21 ,

It looks like the FINDITEM in Percent Counter Time Lookup could not find the list item.  I think it is because you missed a space in the formula i.e. "Month ", not "Month" as what you have

Andre

Certified Master Anaplanner

## Re: Calculation Inquiry

For question 1 and 2, no payment will be calculated if the period is not mapped.  For question 3, the sample payment calculation works on assumption the period is mapped sequentially in the mapping module.

Regards,

Andre

13 REPLIES 13
Moderator

## Re: Calculation Inquiry

You will have to create a SYS TIME module and have a mapping between Native Time and Counter Time. For Example Jun 2020 will be Month 10 something like that. Once done you can easily use LOOKUP based on the mapping and pull the values. Let me know if you want me to create an example for you

Regular Contributor

## Re: Calculation Inquiry

Hi Misbah,

Thank you for the response. I kinda figured that this is going to use the LOOKUP function. Is it ok if you can show me how to do this approach?

Regards,

Community Boss

## Re: Calculation Inquiry

Hi @Jsdeloria21 -

Thanks,

Sorna Raja Prabhu
Moderator

## Re: Calculation Inquiry

@prabhu  has created an example for you already. The only thing I would add is if you have a logic you can automate the mapping between Native Time and Counter Time, if not then you can manually map these two

Hope that helps

Misbah

Certified Master Anaplanner

## Re: Calculation Inquiry

Hi @Jsdeloria21 ,

I think we need to create a staging module with Payment Scheme, Time, and Counter Time as lists.  This will enable us to calculate the installment for each principal amount. The final module will summarize this staging module.

From your example, I notice that percentage split is always input from Month 1, no matter the real Month when the principal amount is issued

The first staging module is to perform the calculation for each principal

The second staging module is to summarize the payment for each Counter Time using TIMESUM

The result module needs to convert the Counter Time to Anaplan Time using SUM.  Here is shown the Oct 19 - Dec 19 (which corresponds to Oct 18 - Dec 18 in your example)

In addition, we need the mapping module that @prabhu showed, and for my example the reverse mapping module which are derived by formula from the original mapping

Regards,

Andre

Regular Contributor

## Re: Calculation Inquiry

Hi Andre,

My apologies for the late reply on your response. And I want to say thank you for taking time on answering the query. I would like to ask something about your solution particularly on the table below. I can see that the Counter Time column on the list was already set to Month 1 - Jan 19. I already had the Column Counter time no ready. Just want to ask, did you set the Month 1 as Jan 19 on the list.? I mean did you assign it manually on this table below? What if there is a value on "Principal" which is Sep 16, does this mean Sep 16 should be tagged as Month 1?

I am currently applying your solution to the set up that we have already. Just need some clarifications on this.

Hope to hear from you

Regards,

Regular Contributor

## Re: Calculation Inquiry

Hi Andre,

My apologies again I think I was wrong on analyzing the screenshots. I just want to clarify my first reply to you.

Is this a module where Row - Time and Counter Time = Counter Dimension ? If so, is it possible to view the formula of this module so I can compare it with what the client.

Thanks

Certified Master Anaplanner

## Re: Calculation Inquiry

No problem.

I have a Counter Time Mapping module to assign Counter Time to Anaplan period manually.  Month 1 should be mapped to the first period in the Time Settings.  In my case, Time Settings starts from Jan 19

Then I have the reverse mapping in Time - Counter Time Mapping module, which is derived from Counter Time Mapping module.

Here is Principal Staging formula, for 2 line items in question

Data from Principal Staging goes to Principal Staging 2

Finally from Principal Staging 2 to Payment module

Let me know if you have further questions.

Regards

Andre

Regular Contributor

## Re: Calculation Inquiry

Hi Andrei,

Thank you for the response it really helped a lot.

Here is that I have so far. This is what my Principal Staging looks like now.

As you can see on the Percent Counter Time Lookup line Item I only have the "Month 10" while on your example it counts Month 1... Month 2.. etc.

Did I do something wrong or am I missing something?

Regards,