ROUNDUP function

Description

Rounds a number up, away from 0 (zero).

Syntax

ROUNDUP (<number>, [<num_digits>])

Parameters

Sr.No. Parameter & Description
1

number

A real number that you want to round up.

2

num_digits

The number of digits to which you want to round.

Return Value

A decimal number.

Remarks

• If number > 0, rounds up to the specified number of decimal places.
• If number = 0, rounds to the nearest integer.
• If number < 0, rounds to the left of the decimal point.

You can also use the following DAX functions in specific instances −

• DAX ROUND function to always round to the specified number of digits.
• DAX ROUNDDOWN function to always round down (toward zero).
• DAX MROUND function to round a number to a specific multiple.
• DAX TRUNC and INT functions to obtain the integer portion of the number.

Example

= ROUNDUP (5.55555,2) returns 5.56.
= ROUNDUP (5.55555,0) returns 6.
= ROUNDUP (5.55555, -1) returns 10.
= ROUNDUP (5.55555, -2) returns 100.
dax_functions_mathematical_trigonometric.htm

Useful Video Courses

Video

Mastering DAX and Data Models in Power BI Desktop

53 Lectures 5.5 hours

Video

Mastering DAX Studio

Featured

24 Lectures 2 hours

Video

DAX / Power BI - Customer and Sales Analysis Deep Dive

26 Lectures 4.5 hours