Forum Discussion
Number formatting in dashboard
Hello,
Does anyone know how to fix this? I am not sure why I am getting 1.1000000001 in my dataset? I checked the backend data and it is all 1.1 etc I copied and pasted special, replaced the fields and not sure what else to do:
Thanks!
Bruna
b-kopik check out below example -
Before -
After Rounding - Right click column > Transform > Round > Round.. > Add 1 in Decimal Places
π‘ Helpful? Give a Kudos π β keep the community growing
β Solved your issue? Mark as Solution βοΈ β help others find it faster
Best regards,
Rupasree Achari | BI & Fabric Analytics Engineer
5 Replies
- Rupa01Solution Sage
Hi b-kopik,
Currently, the data type of the column is decimal.
If you want to have upto 1 decimal point, then keeping the column data type as "Decimal" choose below option to round upto 1 decimal.
π‘ Helpful? Give a Kudos π β keep the community growing
β Solved your issue? Mark as Solution βοΈ β help others find it faster
Best regards,
Rupasree Achari | BI & Fabric Analytics Engineer- Rupa01Solution Sage
b-kopik check out below example -
Before -
After Rounding - Right click column > Transform > Round > Round.. > Add 1 in Decimal Places
π‘ Helpful? Give a Kudos π β keep the community growing
β Solved your issue? Mark as Solution βοΈ β help others find it faster
Best regards,
Rupasree Achari | BI & Fabric Analytics Engineer - b-kopikHelper III
Thanks! Unfortunately I have some fields that say 'not available' so I can't convert to a number
- Rupa01Solution Sage
b-kopik checkout below power query sample code that will transform the text column with decimal values upto 1 decimal places -
let Source = XXXXXXX, #"test"= Table.TransformColumns( Source, { "Column1", each try Number.ToText(Number.Round(Number.FromText(_), 1), "0.0") otherwise _, type text } ) in #"test"Example -
Before -
After -
π‘ Helpful? Give a Kudos π β keep the community growing
β Solved your issue? Mark as Solution βοΈ β help others find it faster
Best regards,
Rupasree Achari | BI & Fabric Analytics Engineer
- b-kopikHelper III
Amazing thanks so much!