Display year based on range of numbers

Hello, I have a module that contains a bunch of servers, and for each server there is an asset tag. The asset tags are in sequential order. I was wondering if it was possible to display the year for each server based on a range of the asset tags. For example, for a given sever, I would like it to display FY17 if its asset tag number is in between 40,000 and 50,000. The ranges should change for each year. My model accounts for FY07-FY23. 

Answers

  • I've mocked up an example below of how to accomplish this by following some of the techniques in the micro-lesson for Working with Ranges, Tiers, or Bands in Anaplan (approx 5 min lesson). Kudos to @Misbah for pointing me in the right direction!

     

    Lists

    • Servers. The list you would use that contains the servers that maps to your data source.
    • Asset Tag Ranges. This list will be an Anaplan-specific list for you to maintain the range values for each fiscal year.

    Data

    First, you should have your Server data coming from an upstream system. I have stored a subset of this in a Data module.

    ryan_kohn_0-1660759209161.png

     

    System

    Next, I have created a System module of Asset Tag Ranges and associated attributes. In this module, I have defined a range of asset tag numbers using a start value and end value. I leverage this downstream to determine if an asset tag falls into the range. This approach is flexible enough for you to be able to add new ranges in the future. Note that the top-level is important on this list in order to support the downstream calculations.

     

    ryan_kohn_1-1660759555912.png

     

    Calculation

    The "meat" of the approach is the Calculation module that maps each server's asset tag number into the correct range.

    ryan_kohn_2-1660759712570.png

     

    I have then mapped the Boolean value into an actual Asset Tag Range list item so that I can do other calculations based on the result. Note that I have my Summary turned on in this case.

    ryan_kohn_3-1660759843968.png

     

    Blueprint:

    ryan_kohn_4-1660759884192.png

     

    Output

    Finally, in my Output module, I am getting the top-level result of the mapping calculation and then looking up the associated Fiscal Year from the attributes module.

    ryan_kohn_5-1660759942691.png

     

    Blueprint:

    ryan_kohn_6-1660759968251.png

     

     

     

     

  • @ryan_kohn @davargas 

     

    Brilliant! That's exactly how it is supposed to be done!

    @ryan_kohn 

    However I am not sure if it is to be considered as Effective dating. This is typical use case of Working with Tiers and Ranges. As far Effective dating concept goes, that is to make sure that we retain historical data at its original parent when the list item moves from one parent to another (like Employee transfer, territory movements etc)

    Thanks,

    Misbah

    Miz Logix

     

  • @Misbah You are absolutely correct re Effective Dating re Tiers/Bands/Ranges. I'm going to update my post to refer to that microlesson instead!