Formatting Data based on a masking value
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Dear Expert,
I need to format my SAP WBS data to have the required dots. based on a masking value. i have included the most common type of WBS that i am working with and the associated way to mask them.
In the attached spreadsheet, the data from SAP is in Column E, the masking type is in column G and the expected output is in column H.
Any help is appreciated.
Many thanks!
Kay O.
Solved! Go to Solution.
- Labels:
- Dynamic Processing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @kayogunbo
Here's one way of doing it. We can first determine your masking logic of POSID through calculating the length between each dot.
What's left is using the Substring Formula to filter out the corresponding values in the WBSE column before concatenating them together using "." as a delimiter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @kayogunbo
Here is a way of doing it using Regex by defining the pattern(s) in seperate streams, then joining together and finally unioning back:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks @davidskaife and @Adrian_T for the wonderful solutions. Very much appreciated
