The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I have a problem with converting a field to decimal. There are instances where it has one decimal and other two decimals. I tried to replace the 0.0 with 0.00 and then check for the 3 last characters where the first character is not a fullstop and then pad a zero on but it did not work. Any ideas to do this in a efficient manner?
Solved! Go to Solution.
I have done that first yes, but then it gives an error. I have however resolved the issue by replacing the fullstop (".") with a comma (",") and then convert it to decimal. Thank you.
Hello @Elmarie_Kies ,
try changing the column type to decimal.
Proud to be a Super User! | |
I have done that first yes, but then it gives an error. I have however resolved the issue by replacing the fullstop (".") with a comma (",") and then convert it to decimal. Thank you.