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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
TomerIwanir1
Helper I
Helper I

Rounding up the the nearest .5

Hi

I have a numbers column, I want to round up the numbers to the nearest 0.5

for example:

 

1.2 ----> 1.5

1.9---->2

0.6--->1

0.4---> 0.5

tried all the round function W/O any success,

 

thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TomerIwanir1 ,

I create a table as you mentioned.

vyilongmsft_0-1723703379590.png

Then I think you can use CEILING function and here is the document: CEILING function (DAX) - DAX | Microsoft Learn

So here is a new calculated column.

Column = CEILING('Table'[Number] * 2, 1) / 2

vyilongmsft_1-1723703637816.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @TomerIwanir1 ,

I create a table as you mentioned.

vyilongmsft_0-1723703379590.png

Then I think you can use CEILING function and here is the document: CEILING function (DAX) - DAX | Microsoft Learn

So here is a new calculated column.

Column = CEILING('Table'[Number] * 2, 1) / 2

vyilongmsft_1-1723703637816.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SachinNandanwar
Super User
Super User

You could try one of these functions

https://www.sqlbi.com/tv/floor-mround-ceiling-iso-ceiling-dax-guide



Regards,
Sachin
Check out my Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.