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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
Solved! Go to Solution.
Hi @TomerIwanir1 ,
I create a table as you mentioned.
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
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.
Hi @TomerIwanir1 ,
I create a table as you mentioned.
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
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.
You could try one of these functions
https://www.sqlbi.com/tv/floor-mround-ceiling-iso-ceiling-dax-guide
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |