Dax Function: ISO.CEILING
Category: Mathematical and Trigonometric Functions
The ISO.CEILING function in Power BI is a DAX function that rounds a number up (towards positive infinity) to the nearest multiple of a specified significance. Unlike the regular CEILING function, ISO.CEILING always rounds numbers in an absolute manner, disregarding the sign of the number. This ensures consistent rounding for both positive and negative numbers.
Purpose
The ISO.CEILING function is particularly useful when:
- Standardizing numeric values to specific intervals.
- Preparing data for grouping or binning.
- Aligning data to multiples for business or financial calculations.
Type of Calculations
The function performs absolute upward rounding of a number to the nearest multiple of a specified significance. It ensures that the result is always positive or zero for both positive and negative inputs.
Practical Use Cases
- Financial Reporting: Rounding transaction amounts to the nearest thousand or hundred for summary reports.
- Inventory Management: Ensuring product counts are rounded up to the nearest box or batch size.
- Time Management: Rounding up durations to the nearest quarter-hour or hour.
- Standardized Binning: Grouping numerical data into defined intervals.
ISO.CEILING(<number>, <significance>)</significance></number>
| Parameter | Type | Description |
|---|---|---|
<number> | Scalar | The numeric value to be rounded. |
<significance> | Scalar | The multiple to which the number should be rounded. Must be positive. |
How Does ISO.CEILING Dax Function Works?
The ISO.CEILING function uses absolute rounding logic. Here’s how it operates:
- Takes the absolute value of the
number. - Finds the smallest integer multiple of
significancethat is greater than or equal to thenumber. - Always returns a positive value.
Mathematical formula:

Where ∣x∣ is the absolute value of x, and ⌈⋅⌉ is the ceiling function.
Examples:
- ISO.CEILING(7.2, 3) → 9
- ISO.CEILING(-7.2, 3) → 9 (note that the result is positive).
What Does It Return?
The function returns a scalar value that is the smallest integer multiple of the significance greater than or equal to the absolute value of the number. The result is always positive or zero.
When Should We Use It?
- Ensuring Consistency in Rounding: When negative numbers need to follow the same rounding rules as positive numbers.
- Data Grouping: For creating bins or groups of data based on fixed intervals.
- Financial Calculations: Rounding up to standard units for reporting.
- Eliminating Negative Rounding Confusion: Ensures positive outputs regardless of input sign.
Examples
Basic Usage
Round up to the nearest multiple of 5:
ISO.CEILING(13, 5)
Output:
15
Column Usage
Create a calculated column that rounds up to the nearest multiple of 10:
ISO.CEILING([Sales], 10)
Output: A column with sales figures rounded up to the nearest 10.
Advanced Usage
Combining with other DAX functions for dynamic significance:
ISO.CEILING([Value], MAX([Interval]))
Output:
Rounds each value in the column up to the nearest multiple of the maximum interval in another column.
Tips and Tricks
- Choose Significance Wisely: Ensure the
significancevalue aligns with your business logic (e.g., bin size, currency). - Dynamic Rounding: Combine with measures or calculated columns for flexible significance.
- Positive Consistency: Use ISO.CEILING instead of CEILING for predictable results with negative numbers.
Potential Pitfalls
- Significance Limitations: Ensure the
significanceis greater than zero, as negative or zero significance will cause errors. - Unintended Positive Results: If the input number must preserve its sign, ISO.CEILING may not be appropriate.
Performance Impact of ISO.CEILING DAX Function:
- Efficient for single-scalar operations or small datasets.
- For large datasets, consider pre-aggregating data or limiting the scope of application to improve performance.
Related Functions You Might Need
- CEILING: Rounds a number up to the nearest multiple of significance but considers the sign of the number.
- FLOOR: Rounds a number down to the nearest multiple of significance.
- ROUNDUP: Rounds a number up to a specified number of digits.
- ROUNDDOWN: Rounds a number down to a specified number of digits.
Want to Learn More?
For more information, check out the official Microsoft documentation for IOS.CEILING. You can also experiment with this function in your Power BI reports to explore its capabilities.
If you’re looking to unlock the full potential of Power BI and take your data insights to the next level, our expert Power BI consulting services are here to help. Whether you need assistance with implementing advanced DAX functions like the ones discussed here, creating interactive dashboards, or optimizing your data models for better performance, our team of seasoned Power BI consultants is ready to provide tailored solutions for your business. Visit our Power BI Consulting page to learn more about how we can empower your organization with data-driven decisions.
The ISO.CEILING function rounds a number up to the nearest multiple of a specified significance, always returning a positive result.
It rounds the absolute value of the number up to the nearest multiple of the significance and returns a positive result.
The function will return an error because the significance must be greater than zero.
Yes, you can use measures or calculated columns to provide dynamic significance values.
While both round up, CEILING respects the sign of the number, whereas ISO.CEILING always returns a positive result.