topic Re: Formula to Select data based on Month in Anaplan Platform https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110516#M26724 谢谢LipChuan。我全新的必须try it out but it makes alot of sense. Sat, 05 Jun 2021 11:43:16 GMT CHSJ 2021-06-05T11:43:16Z Formula to Select data based on Month https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110441#M26705

Hi,

 

I am new to  Anaplan.

 

I would like to have a formula that pulls data from module A if the month is earlier than say Feb 2021 and to extract value from module B if the month is from Mar 2021 onwards. What is the formula to do this please? Thank you.

Fri, 04 Jun 2021 17:23:55 GMT https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110441#M26705 CHSJ 2021-06-04T17:23:55Z
Re: Formula to Select data based on Month https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110448#M26708

Hello, your question is a little vague but I think what you need to do is utilize a time settings module with boolean filters. Anaplan provides some time settings apps for you to reference what those modules look like. 

 

Basically you would do a simple IF formula based on that boolean. In your time settings module, you'd have a line item that is checked for every month before Feb 2021 and empty for months after. The formula is 'IF (time setting module line item) then Module A ELSE Module B. 

 

The formula looks at the time settings module line item, if that month is checked then it pulls the value from module A, else it pulls from module B. 

Fri, 04 Jun 2021 17:54:19 GMT https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110448#M26708 jakesachs 2021-06-04T17:54:19Z
Re: Formula to Select data based on Month https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110508#M26718

Hi  

 

To add to what  , you can further enhance the sustainability of the model by creating a reference month that someone (admin pehaps?) can modify.

 

LipChean_Soh_0-1622855936642.png

 

1. Creating a dynamic reference month makes sense, because you shouldn't modify this formula every month just to change the time check.

2. Creating a SYS Mth module is part of our DISCO methodology, where SYS (short for System) refers to 'S' in 'DISCO'. Essentially you want to create a system module so that the same line item can be referenced by other modules somewhere within the module.

3. Creating a System module obeys the 'Calculate Once, Reference Many times' mantra in 'PLANUAL'.

 

Good luck on your Anaplan journey.

 

Thanks,

LipChean

Sat, 05 Jun 2021 01:22:46 GMT https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110508#M26718 LipChean_Soh 2021-06-05T01:22:46Z
Re: Formula to Select data based on Month https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110515#M26723 Thanks! Will give it a try! Sat, 05 Jun 2021 11:41:59 GMT https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110515#M26723 CHSJ 2021-06-05T11:41:59Z Re: Formula to Select data based on Month https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110516#M26724 谢谢LipChuan。我全新的必须try it out but it makes alot of sense. Sat, 05 Jun 2021 11:43:16 GMT https://community.anaplan.com/t5/Anaplan-Platform/Formula-to-Select-data-based-on-Month/m-p/110516#M26724 CHSJ 2021-06-05T11:43:16Z