NEXT or Previous cell values without Time dimension

MadhabikaM
Frequent Contributor

NEXT or Previous cell values without Time dimension

Hi All,

 

Is there any function in Anaplan, which can be used to get the next cell value from first line item in a new line item.

or 2nd scenario is to ignore the prior cell values,

For example: IF SL1(List item) ignore first 1 cell, for SL2 ignore first 2 cells,SL3 ignore first 3 cells ....and so on.

 

I have done this using NEXT,PREVIOUS,OFFSET etc, but in this case I don't use time dimension.

so these functions can't be used .

 

Thanks & Regards,

Madhu

1 ACCEPTED SOLUTION

Accepted Solutions
PavanKumar
Regular Contributor

Hi Madhu,

 

Only way you can achieve this without Time dimension is using 'Lookup'.

In the list, used as dimension in the module you are referring, create a property formatted as the same list and create a manual mapping.

E.g:  List 

Members   Lookup Property

A                 
B                 A
C                 B
D                 C

 

Formula for your second line now will be 'Line 1[Lookup: Lookup Property]

 

Your next question should be, can't we automate this using a formula? Answer is no. Manual mapping and using lookup is the workaround.

Let me know, if i misunderstood your question.

 

Regards,

Pavan 

View solution in original post

7 REPLIES 7
PavanKumar
Regular Contributor

Hi Madhu,

 

Only way you can achieve this without Time dimension is using 'Lookup'.

In the list, used as dimension in the module you are referring, create a property formatted as the same list and create a manual mapping.

E.g:  List 

Members   Lookup Property

A                 
B                 A
C                 B
D                 C

 

Formula for your second line now will be 'Line 1[Lookup: Lookup Property]

 

Your next question should be, can't we automate this using a formula? Answer is no. Manual mapping and using lookup is the workaround.

Let me know, if i misunderstood your question.

 

Regards,

Pavan 

rob_marshall
Moderator

@PavanKumar ,

 

Please don't put this as a list property, but rather in a SYS Module as line item.  It will give you the same results, keeps the list clean, other model builders will be able to use it, and the process will show up in the model map.

 

Thanks,

 

Rob

CommunityMember132037
Contributor

Hi @rob_marshall 

 

Can you share an screenshot on how this will be done as a SYS Module? I am trying to achieve the same.

Thanks!

Yordana Tasson
rob_marshall
Moderator

@CommunityMember132037 

 

It really depends on your codes of the list members, but this was something I had on Project Status.

 

2022-05-24_14-58-31.png

 

2022-05-24_14-58-19.png

 

Rob

CommunityMember132037
Contributor

Perfect - Will try it out!

Thank you! 😊

 

Yordana Tasson
rob_marshall
Moderator

@CommunityMember132037 

 

Not sure what you are attempting to accomplish, but this might work well for you as well.

 

https://community.anaplan.com/t5/How-To/Planning-Sales-or-Invoices-Using-Tier-Pricing/ta-p/60614

 

Rob

AWhitworth
Certified Master Anaplanner

Hi Madhu,

 

@PavanKumar  is correct there is no built-in formula for this.

 

This has been suggested on the Idea Exchange before so if it is something you would like to see in a future release you can give it some support  https://community.anaplan.com/t5/Idea-Exchange/PREVIOUSITEM-formula-which-is-like-PREVIOUS-but-refer... 

 

Thanks,

 

Aaron