language
Call Us: 1-800-497-0151

Blog

Sorting Entities in OneStream

  • , Consultant

OneStream does a great job grabbing dimensions and their members rather easy. Most of the time a user will just grab a parent and then use a member expansion to grab its children, base members or all its descendants. Doing so gives the users a list of the members exactly how they appear in the hierarchy. This may be great for some cases but if a user wants to search through the list for a specific member, it may be hard to find depending on how the hierarchy is set up.

An easier way for a user to find exactly what they are looking for is by putting the list in alphabetical order. This can be done using an XFBR and makes finding members easier for members when using something like a combo box to select from a list.

For this example, we will look at a list of Entities that we are having a user select from using a comb box. The list is derived using a parameter and we are grabbing the base Members from the top parent “US” and the list will display each base member exactly how the hierarchy is set up.

Data Source

The image on the left shows how the hierarchy is set up in the dimension and the image on the right shows the list that is created using a member filter “E#US.base”.

Entity Dimension

Select Entity

Now, we updated the parameter to replace the “E#US.base” and instead input our XFBR string that helps sort the list of members alphabetical by name.

Member Filter

You can see now that the list on the combo box is in alphabetical order and makes it easier for a user to find an entity quicker.

Entity List A to Z

Below is the code used in the XFBR string that helped put the list on the combo box in alphabetical order. You basically just have to start off with creating a string of members you want to see “E#US.base”, tell OneStream that you want the list created to be In ascending order and then you just loop through the string and OneStream spits it out in alphabetical order!

XFBR Code

Contact MindStream Analytics

Want to learn more about OneStream Software? Please complete the form below and we'll get back to you shortly.


Partner SpotLight

OneStream Diamond Partner

OneStream CPM

OneStream aligns to your business needs and changes more quickly and easily than any other product by offering one platform and one model for all financial CPM solutions. OneStream employs Guided Workflows, validations and flexible mapping to deliver data quality confidence for all collections and analysis while reducing risk throughout the entire auditable financial process.

OneStream Profile