Forum Discussion
Chaimaazyani
1 year agoNew Member
Data cleaning remove 0 from decimal values X.0
Hi, could you please help me remove 0 in decimal number here?
ex: ( 68.0 should be 68 and keep 75.4 as it is )
Thank you!
Solved using custom format Strings
7 Replies
- amitchandak
Super User
Chaimaazyani , Try a format Like
###.##% and check
or dynamic format in measure/column tools
"##.##%;-##.##%;##.##%"- ChaimaazyaniNew Member
Doesn't work
- shafiz_p
Super User
Hi Chaimaazyani Select visual and go to data label in format section, go to value and place decimal places to 0. See images below:
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz- ChaimaazyaniNew Member
Doesn't work
- Kedar_Pande
Super User
Chaimaazyani
Calculated Column:FormattedNumber =
IF(
MOD('YourTable'[YourColumn], 1) = 0,
FORMAT('YourTable'[YourColumn], "0"),
FORMAT('YourTable'[YourColumn], "0.0")
)💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn- ChaimaazyaniNew Member
Doesn't work. Same result
- ChaimaazyaniNew Member
Solved using custom format Strings