The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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 Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Hello community ;), anyone know how to create a function for Mobile Phone Number, where the only valid first digit is 6 or 7 and the rest convert to N/A. thanks in advance!

TrifactaUsers
10 - Fireball
 
4 REPLIES 4
Trifacta_Alumni
Alteryx Alumni (Retired)

Hi @juan sánchez? you can do this with Edit column with a formula:

Column -> mobile number

Formula -> IF(MATCHES($col, `{start}6|{start}7`), $col,'N/A')

 

Best,

Vardan

TrifactaUsers
10 - Fireball

Love it! hundred of thanks Vardan! Do you know where i can learn all trifacta forms of formulas? thanbks in advance!

Trifacta_Alumni
Alteryx Alumni (Retired)

Thanks Juan glad you find them helpful. I think the broader question is how you want to apply the features of Trifacta in your data preparation experience and the complexity of the use-case.

From a learning perspective i would say earn your Wrangler and Knight certification that are the foundations. A good place to learn the concepts, features and functions in depth is definitely Trifacta's documentation. There are many sources of public data available today that you can utilize to master Trifacta's functions.

Trifacta_Alumni
Alteryx Alumni (Retired)

(Psst! Hey, Community members! If someone answers your question really well, consider marking their response with 'Best Answer'!)