The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi
I am having below column called "Amount" which is in Text type
I am trying to convert this column in decimal number in Power Query and getting below values. It replaces the decimal value
Again I tried to convert into fixed decimal
Here the decimal points are not coming correctly. Can you please advise why this is happening? My data comes from SQL server
Solved! Go to Solution.
Hi @bourne2000
Right click in the column header and try using Change Type -> Using Locale
Then select Decimal Number and the locale of the origin of the data
Regards
Phil
Proud to be a Super User!
Hi @bourne2000
Right click in the column header and try using Change Type -> Using Locale
Then select Decimal Number and the locale of the origin of the data
Regards
Phil
Proud to be a Super User!
@bourne2000 , seem like because of a regional setting comma, is a decimal seprarator.
Not the full stop/dot (.)
So replace . with , first and then try to convert
Hi @bourne2000
How are you doing the conversion? By clicking on the ABC icon in the column header and choosing Decimal Number?
If you do this then you should get a step with the code
= Table.TransformColumnTypes(Source,{{"Amount", type number}})
Are you seeing this?
Can you share your data file?
Regards
Phil
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
81 | |
75 | |
52 | |
48 |
User | Count |
---|---|
134 | |
124 | |
78 | |
64 | |
63 |