Forum Discussion
Replace "." to "," does not work
- 7 years ago
Hi Lukas,
The reason your replace is not working is because the dataformat is general. You are trying to replace string values while the column doesn't have defined format. If you first convert the column to text, then do the formatting you should get the proper result.
Assuming you're european this is what i advice you to do:
- Format the column to text
- Replace "." with ","
- Format the column to decimal number.
Hope it works!
Hi Kalpavruksh,
do you mean to change the format in Power Query?
Because when I did it then I couldnt use replace function
Thanks
Lukas
Hi Lukas,
The reason your replace is not working is because the dataformat is general. You are trying to replace string values while the column doesn't have defined format. If you first convert the column to text, then do the formatting you should get the proper result.
Assuming you're european this is what i advice you to do:
- Format the column to text
- Replace "." with ","
- Format the column to decimal number.
Hope it works!
- Anonymous7 years agoNot applicable
Hi tex628,
your solution worked perfectly :)
Thank you
Lukas
- Anonymous5 years agoNot applicable
This worked well, thank you!