Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NEOM
New Member

Data Type Round up issue

Hi,

 

Please find the below, while converting  the Decimal to whole number - sometimes round up is working and sometimes round down .

Example- For  62.5 and 61.5 showing same value.

If 0.5 come then it needs to Round up like highlighted in red color.

 

 

NEOM_0-1678181977616.png

 

Result , i need like below in Query editor itself.

NEOM_1-1678181977581.png

 

 

Thanks,

 

 

@amitchandak  @Greg_Deckler 

2 REPLIES 2
Endiii
Frequent Visitor

In DAX you can use "ROUNDUP" and "ROUNDDOWN" formulas.
In PowerQuery there is function called "Number.RoundUp" and "Number.RoundDown" where you can decide which way you want to go. 

Endiii_0-1678183178196.png

 

amitchandak
Super User
Super User

@NEOM , Are you using Number.RoundUp?

https://www.youtube.com/watch?v=_bP2GNiMIwM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors