Inputting a formula based on range of dates

Hi All,

 

I'm fairly new to Anaplan and have a module that gets start period and end period. What I want to do is use these time range in order to set a specific amount based on a formula.

 

I want to apply a specific formula on the time periods with respect to the start period and end period. To give an example, in one cost center, the start and end period is Jan 19 to Jun 19 respectively. I want to compute for the allowance for this specific range. Any help would be greatly appreciated.

 

Thanks in advance!

Jad Daffon

Best Answer

Answers

  • Can you try something similar to the following,

     

    image.png

    image.png

     

    You can do a calculation if the Boolean is true.

     

    Regards

    Arun

  • Hi Sir @ArunManickam,

     

    The time period that i'll use as reference is formatted as time period (months). Is there a way to this months similar to the date format that you have provided?

     

    Kind regards,

  • HI @ArunManickam 

    Sorry for the late revert. This worked perfectly. Already applied it to our model for allowance computation. Thank you very much for your help!

     

    Kind regards,

    Jad Daffon

  • Hi,

     

    I tried to apply the same logic. However for me the start and end date is coming from a different module.Both the line items are date formatted. I am getting below mentioned error. Just for your information I am creating a Boolean line item to clear data which falls under this specific time range. In this boolean line item I am trying to write the formula.

    NehaSharma_1-1615374163254.png

    Can you please help me on this.  

    Thanks in advance.

     

  • @NehaSharma  change the data type to "Time Period" "Month"

    CommunityMember126793_0-1615443230930.png

     

  • Thank you!