In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Formatting Data based on a masking value

kayogunbo
7 - Meteor

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.

3 REPLIES 3
Adrian_T
Alteryx Alumni (Retired)

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.

 

Adrian_T_0-1655808227204.png

 

davidskaife
14 - Magnetar

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:

 

DavidSkaife_0-1655808418363.png

 

kayogunbo
7 - Meteor

Thanks @davidskaife and @Adrian_T for the wonderful solutions. Very much appreciated

Labels
Top Solution Authors