Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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! Go to Solution.
Solved using custom format Strings
@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
Doesn't work. Same result
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
Doesn't work
@Chaimaazyani , Try a format Like
###.##% and check
or dynamic format in measure/column tools
Doesn't work