Formula and Ability to Edit

CamdenMaggos
Contributor

Formula and Ability to Edit

Hello,

 

is it possible to have a formula that is formulated for a certain version or from an IF, but then allows you to hard code if that is not true?

 

For example if we were to say "IF ISACTUALVERSION() THEN 0 ELSE {Ability to hardcode here}"

 

Thanks in advance

 

5 REPLIES 5
BrunoRodriguez
Regular Contributor

Hello @CamdenMaggos ,

 

You could reference a Line item editable in the ELSE statement (i.e., create a LI withou formula where you can input the data).


Cheers!

Best,
Bruno Rodriguez
rob_marshall
Moderator

@CamdenMaggos 

 

I would suggest a couple of options:

  • User formula scope in the blueprint section...For example, if you set the formula scope to all versions Except Actual, then Actuals will always be 0.
  • Option 2 would be to use the Version Formula option within the blueprint as well
    2022-07-11_10-44-52.png

 

Rob 



clarissa
Certified Master Anaplanner

When I tried playing with the version formula, it was requiring a line item subset. Any way of getting around this requirement?

ShivankurSharma
Certified Master Anaplanner

Hardcode in the formulas can be done by adding it in "" but this is not recommended within the formula as that will be difficult to audit. If Hardcoding is required make it through a system module/lookup module so that it is auditable when required.

CamdenMaggos
Contributor

It could be a different hardcode depending on what component from the list is showing so this method would not work. Specifically using it to show hour availability for certain employees but want to make sure we get 0 for employees that are terminated, but have the ability to manually enter the available hours for the employees that are active.