ISO.CEILING

ISO.CEILING

How to Use the Power BI DAX function ISO.CEILING

What is the ISO.CEILING function?

The ISO.CEILING function is a DAX function in Power BI that rounds a number up to the nearest value that is divisible by a specified factor. The function takes two arguments: the number you want to round, and the factor you want to round up to.

The syntax for the ISO.CEILING function is as follows:


ISO.CEILING(❰number❱, ❰factor❱)


Here, `❰number❱` is the value you want to round up, and `❰factor❱` is the multiple you want to round up to.

Using the ISO.CEILING function in Power BI

Let's take a look at a simple example of using the ISO.CEILING function in Power BI. Suppose you have a column in your data that contains values representing the number of units sold for a particular product. You want to round these values up to the nearest multiple of 10. Here's how you can use the ISO.CEILING function to accomplish this:


=ISO.CEILING([Units Sold], 10)


Here, `[Units Sold]` is the name of the column containing the original values. The second argument, `10`, specifies that we want to round up to the nearest multiple of 10.

Once you've created this measure, you can use it in your Power BI report to display the rounded values.

Using the ISO.CEILING function with other DAX functions

The ISO.CEILING function can also be used in combination with other DAX functions to perform more complex calculations. For example, you might want to calculate the total sales for a particular product, rounded up to the nearest multiple of 100. Here's how you can use the ISO.CEILING function in conjunction with the SUMX function to accomplish this:


=ISO.CEILING(SUMX(‘Sales’, [Sales Amount]), 100)


Here, `[Sales Amount]` is the name of the column containing the sales data, and `'Sales'` is the name of the table containing the sales data. The `SUMX` function calculates the sum of the sales amounts, and the ISO.CEILING function rounds the result up to the nearest multiple of 100.

The ISO.CEILING function can be a powerful tool when you need to round up numbers to a specific multiple. By using this function in your Power BI reports, you can ensure that your data is displayed in a way that is both accurate and easy to understand. Whether you're working with simple rounding or more complex calculations, the ISO.CEILING function is a valuable addition to your DAX toolkit.

Power BI DAX Training Courses by G Com Solutions (0800 998 9248)

Upcoming Courses

Contact Us

Subject

Your Name (required)

Company/Organisation

Email (required)

Telephone

Training Course(s)

Your Message

Upload Example Document(s) (Zip multiple files)

Copyright, G Com Solutions Ltd, 2024.
Tower Bridge Business Centre, 46-48 East Smithfield, London E1W 1AW
0800 998 9248   |   9:00 a.m. till 5:30 p.m.

Connect With Me: