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.
Hi, I am working in power query and need to transform some data within a column, the question appears simple enough:
Where there is 2016 replace with 16.
However, 2016 is in the middle of a random text string and so Replace values doesn't work as it is looking up 2016 the number. Anyone know a work around? Thanks,
dan
Solved! Go to Solution.
hi,
try adding a custom column:
= Text.Replace([YOUR TEXT COLUMN NAME HERE], "2016", "16")
please note that this will replace all occurances of the 2016 within the text which is or is not what you may want.
regards,
radpir
Hi @Dan80,
You can also open Query Editor, then use Replace Values feature:
Best Regards,
Qiuyun Yu
Hi @Dan80,
You can also open Query Editor, then use Replace Values feature:
Best Regards,
Qiuyun Yu
hi,
try adding a custom column:
= Text.Replace([YOUR TEXT COLUMN NAME HERE], "2016", "16")
please note that this will replace all occurances of the 2016 within the text which is or is not what you may want.
regards,
radpir
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |