Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hai.. Anyone pls help me...
I have a coloum name ID, and I want ti replace part of the value with xxxx. Example :
ID
12345678
23456789
17654328
I want to change a 4 last number with xxxx. it will look like :
ID
1234XXXX
2345XXXX
1765XXXX
TQ
Solved! Go to Solution.
@leneprd You can add a calculated column with the following formula
=SUBSTITUTE(Table1[ID],RIGHT(Table1[ID],4),"XXXX")
Results will look like this
Hi @leneprd,
Also, you can try a Power Query method:
Go to Edit Queries -> Add a Custom Column
=Text.Replace(Number.ToText([ID]),Text.End(Number.ToText([ID]),4),"xxxx")
Thanks,
Xi Jin.
Hi @leneprd,
Also, you can try a Power Query method:
Go to Edit Queries -> Add a Custom Column
=Text.Replace(Number.ToText([ID]),Text.End(Number.ToText([ID]),4),"xxxx")
Thanks,
Xi Jin.
Try this method too... Got it
TQSM
@leneprd You can add a calculated column with the following formula
=SUBSTITUTE(Table1[ID],RIGHT(Table1[ID],4),"XXXX")
Results will look like this
Got it.
TQSM
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |