Daily DAX : Day 385 ISO.CEILING
ISO.CEILING DAX Function in Power BI
Function Syntax
ISO.CEILING(<number> [, <significance>])
Description
The ISO.CEILING function rounds a number up to the nearest multiple of a specified significance,
following the ISO standard (same behavior as CEILING in most cases, but ensures consistency across locales).
Unlike CEILING.PRECISE, it allows a custom significance (step value), and always rounds up (away from zero for positive numbers).
Returns: A decimal number rounded up to the nearest multiple of
significance.
Parameters
| Parameter | Description |
|---|---|
<number> |
The numeric value you want to round up. |
<significance> (optional) |
The multiple to which you want to round. Default is 1. |
Examples
Example 1: Basic Rounding (Significance = 1)
ISO.CEILING(4.3) → 5
ISO.CEILING(-4.3) → -4
ISO.CEILING(5) → 5
Example 2: Custom Significance
ISO.CEILING(23, 5) → 25
ISO.CEILING(21, 5) → 25
ISO.CEILING(26, 10) → 30
Example 3: In a Measure (Sales Rounding to Nearest 100)
Rounded Sales =
ISO.CEILING(SUM(Sales[Amount]), 100)
Result: If total sales = 1,234 → Returns 1,300
Use Cases
- Financial Reporting: Round revenue up to the nearest thousand for conservative estimates.
- Inventory Management: Round up order quantities to full cartons (e.g., packs of 12).
- Pricing Rules: Apply minimum billing increments (e.g., bill in 15-minute intervals → significance = 0.25 hours).
- Project Estimation: Round resource allocation up to nearest full unit.
Tip: Use
ISO.CEILING instead of CEILING for consistent behavior across different language/regional settings in Power BI.
Comments
Post a Comment