on 02-12-2019 8:43 AM
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:
1230000
1230001
1230002,1230003,1230004,1230008
1230005,1230006
Now I would like to create a Column B:
1
1
4
2
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.
Regards,
Jonas
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,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tom,
thank you so much for your help! It works as intended.
I have seen that you replied to my other question as well but I havent checked that solution yet and will come back to it in a few minutes. Thank you again for your help, this works perfectly fine for me as all IDs have the same lengths.
Regards,
Jonas
User | Count |
---|---|
84 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.