Hi Community members,
I am looking for some alternatives to assign sequential ordering in Polaris model as the default "Rank" function is unavailable there.
Thank you!
@BhumikaTewari
If it is only about generating sequential numbering have you tried CUMULATE?
EDIT: A direct cumulate on the original list's SYS module can work much cleaner. Instead of the below, the re-order action can allow for workaround ranking without a need for a secondary list.
Hello,
You could implement a potential list workaround, though it would be heavily dependent on the list size/ranking frequency. It could revolve around maintaining & managing a secondary list that mirrors the first.
First, you could sort the current list you are trying to rank by the applicable value. Create a saved view of that ranking.
to saved view:
Then, load that saved view into a secondary list using the same name / code of the main list.
After, create a system module for that secondary list with a count line item equal to 1. Then you can create a second line item using cumulate on that count. This will create a dummy rank down the list.
Then in a module dimensioned by the original list, reference this back using a finditem to link the two lists. Pull in the dummy rank.
When a new rank is needed you would have to delete the secondary list entirely and re-load. Cumulate is based off the original order list and not any re-orders.
A potential issue with this workaround is that you would need to delete the entire secondary list and re-import every time you need to re-rank the original list. This deviates from recommended best practices. It is certainly not optimal, and not recommended unless no other alternatives could be implemented.
This breaks best practice because there is an inherent limit to the amount of items you can load to a list over the course of its' life. So if you have a large list you are ranking & you need to rank it frequently, then this workaround may not be feasible.
Thankyou @JeffreyLP for the detailed solution.
I used similar approach with Ordering action & Cumulate.
Hi @Misbah ,
Ordering action combined with cumulate seems to be a workaround until we have the Rank function working in Polaris.Thank you for your response.
I have used RANKCUMULATE(1, 1, ASCENDING, TRUE) to one of Flat list property in Polaris model
We've been building a tool called aplan4sheets and we'd genuinely like input from this community — both on what we've built so far and on what we should prioritize next. The problem we set out to solve: Anaplan's Excel add-in is Windows-centric, and there's no real native way to pivot Anaplan data in Google Sheets. We…
A while back, I shared a pattern for extracting and reporting on Anaplan audit data using a Python project hosted on GitHub. I wrote that during my time on the Operational Excellence Group (OEG) at Anaplan. The Python solution still works, and plenty of teams are running it today. The problem it solves hasn't changed:…
We are looking for Anaplan end-users to provide feedback on their experiences with the Excel add-in. Interested individuals will respond to this 5-minute survey to help us understand personal needs and behavior when using the add-in. The feedback provided by survey takers is essential to the roadmap of Anaplan's products.…