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 unable to convert the below text columns into decimal
Decimals points are replacing, when I tried to convert using changed type into decimal in power query. I want to show the decimal point in my report. Also, I changed the regional settings into United States .
Any suggestions?
Solved! Go to Solution.
I tried with your few rows of sample data, converting as currency and it worked fine.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQ0UIrViVYyM9azNAKzTAzM9SwswExDMyNLPUtLiAJTpdhYAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Currency.Type}})
in
#"Changed Type"
I am not recommending but to understand the problem, Can you try doing
data type change to decimal in Power Query?
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type number}})
Format in Data tab as decimal with two points?
See if this shows as you wanted.
I tried with your few rows of sample data, converting as currency and it worked fine.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQ0UIrViVYyM9azNAKzTAzM9SwswExDMyNLPUtLiAJTpdhYAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", Currency.Type}})
in
#"Changed Type"
I am not recommending but to understand the problem, Can you try doing
data type change to decimal in Power Query?
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type number}})
Format in Data tab as decimal with two points?
See if this shows as you wanted.
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 |
---|---|
114 | |
105 | |
77 | |
67 | |
63 |
User | Count |
---|---|
144 | |
107 | |
105 | |
82 | |
69 |