Skip to Content

SAP BO how to count the number of IDs in a cell

Hi everyone,

I am relatively new to SAP BO and have an issue that looks as follows:

In a table, there is a dimension which displays all IDs referred to an issue. Each of these IDs have 7 characters and are separated by a comma but displayed in the same cell always.

Column A:





Now I would like to create a Column B:





The count function doenst work as Column A is displayed in one string each no matter what the actual number of IDs are, thus it shows 1 no matter whether there are 1 or 20 IDs in the cell.

Does anyone have an idea?

Thank you for your support.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 12, 2019 at 10:18 AM

    Hi Jonas,

    Try by creating a new variable:

    [Count Concatenated IDs] =Length(Replace([Column A:];",";""))/7

    This is provided your IDs always have the same length, i.e. 7 as in your example.

    Kind regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.