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 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.
Hi,
Kindly advise if you're able, I have a decimal column datatype decimal on a Day table as per below example.
Day |
0.5 |
11.0 |
When I add this I get 11.5 which is correct, but when I add 1.0+1.0= 2.0, I would like to get rid of zero if is a whole number
Dax used Total days=sum('day'.[day])+0
Basically, I would like to get rid of 0 if the sum is equal to a whole number. Many thanks.
Solved! Go to Solution.
I suggest using a tabular editor in the Power BI desktop.
The type still remains as a number.
https://www.dropbox.com/s/0q2878rl8amj4n4/powerbidata.pbix?dl=0
I suggest using a tabular editor in the Power BI desktop.
The type still remains as a number.
https://www.dropbox.com/s/0q2878rl8amj4n4/powerbidata.pbix?dl=0
Hey @PowerBIData ,
you can do that with DAX and the FORMAT function.
Check that article on how to do that:
Dynamic scaling of a measure in Power BI with DAX - What the fact.bi
Be aware that FORMAT returns a text. So this measure will work in a table or matrix, but not in other visuals like a bar or line chart.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.