Forum Discussion

aakashlakhani's avatar
aakashlakhani
Frequent Visitor
8 years ago
Solved

Power BI Transform Phone Number

Hi I have a dataset contains phone numbers. I need to remove the 3 digits and space for a row to transform it to a standard  using Power BI. Can anyone help on this. 

 

Phone NumbersResults
123-234-1234123-234-1234
123-234-1235123-234-1235
123-234-1236123-234-1236
123-234-1237123-234-1237
123-234-1238123-234-1238
123-234-1239123-234-1239
122 123-234-1240123-234-1240
123-234-1241123-234-1241
123-234-1242123-234-1242
123-234-1243123-234-1243
123-234-1244123-234-1244
123-234-1245123-234-1245
123-234-1246123-234-1246
123-234-1247123-234-1247
123-234-1248123-234-1248
123-234-1249123-234-1249
123-234-1250123-234-1250
123-234-1251123-234-1251
123-234-1252123-234-1252

 

Thanks 

  • Hi,

     

    You can try something like: 

    Result = RIGHT([Phone Numbers],12)

     

    this shall get 12 charecters (10 number , and - twice)

     

    Hope this shall fix your issue.

    If this solves your concer, kindly approve this as solution and also a thumps up :)

     

    Regards,

    Praisely

2 Replies

  • Hi,

     

    You can try something like: 

    Result = RIGHT([Phone Numbers],12)

     

    this shall get 12 charecters (10 number , and - twice)

     

    Hope this shall fix your issue.

    If this solves your concer, kindly approve this as solution and also a thumps up :)

     

    Regards,

    Praisely