Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi All,
I want Phone number like below snapshot of green color highlighted, First all the numbers with star symbol and last four digits need to display, can you please help me how to do this???
Note: Numbers are of total numbers like 9,10,11,12 upto 15.
Thanks in advance
Solved! Go to Solution.
Use below formula in a custom column
= Text.PadStart(Text.End(Text.From([PhoneNumber]),4),Text.Length(Text.From([PhoneNumber])),"*")
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Added Custom" = Table.AddColumn(Source, "MaskedPhoneNumber", each Text.PadStart(Text.End(Text.From([PhoneNumber]),4),Text.Length(Text.From([PhoneNumber])),"*")),
#"Removed Columns" = Table.RemoveColumns(#"Added Custom",{"PhoneNumber"})
in
#"Removed Columns"
Use below formula in a custom column
= Text.PadStart(Text.End(Text.From([PhoneNumber]),4),Text.Length(Text.From([PhoneNumber])),"*")
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Added Custom" = Table.AddColumn(Source, "MaskedPhoneNumber", each Text.PadStart(Text.End(Text.From([PhoneNumber]),4),Text.Length(Text.From([PhoneNumber])),"*")),
#"Removed Columns" = Table.RemoveColumns(#"Added Custom",{"PhoneNumber"})
in
#"Removed Columns"
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.