Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sagarm35
Contributor
Contributor

mobile number clean up

Hello all,

I am working on customer data where the mobile number filed needs to be clean before matching to other tables. I want to clean numbers that start from +91 or 91 which is country code.  The following data and output example will clear all that its to be look like so some data points have +91 at starts and some have only 91 and some data point consist of space after country code. i want final output to be only a 10 digit mobile number please help me I am new to qlik sense.

Ex. 

Data                                                          output

1. +919898989898  =                 9898989898

2. 919898989898 =                    9898989898

3. 91 9898989898 =                    9898989898

1 Solution

Accepted Solutions
Taoufiq_Zarra

Maye be

right(Field,10) as NewField 

 

output :

Taoufiq_ZARRA_0-1592838011480.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

Maye be

right(Field,10) as NewField 

 

output :

Taoufiq_ZARRA_0-1592838011480.png

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉