DAX Math & Trigonometric - FLOOR function

Description

Rounds a number down, toward zero, to the nearest multiple of significance.

Syntax

FLOOR (<number>, <significance>)

Parameters

Sr.No. Parameter & Description
1

number

The numeric value you want to round.

2

significance

The multiple to which you want to round.

The parameters number and significance must either both be positive, or both negative.

Return Value

A decimal number.

Remarks

• If either parameter is non-numeric, FLOOR returns #VALUE! error.

• If the number is positive and significance is negative, FLOOR returns error.

• Regardless of the sign of the number, a value is rounded down when adjusted away from zero.

• If the number is an exact multiple of significance, no rounding occurs.

Example

= FLOOR (2.8,2) returns 2.
= FLOOR (2.8,3) returns 0.
= FLOOR (-2.8,2) returns -4.
= FLOOR (-2.8, -2) returns -2.
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