- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
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
Advertisements