• Skip to main content
  • Skip to footer

Curbal

Learn how to grow your business with your data and Power BI

  • Data Stories
    • Power BI Stories
    • 1 dataset, 100 matplotlib visualizations
  • Learning Portal
    • Download Center
    • 25 Days Challenge
    • DAX Glossary
    • Power BI
    • Power BI by Topic
    • Python
    • 1 dataset, 100 matplotlib visualizations
  • Courses
    • Power BI Mini Master Class 1: Using a REST API as a data source
    • Power BI Master Class 1: COVID Tracker
    • Introduction to Power BI – FREE Online course
    • M Language + Power Query Course Bundle
    • Power Query Online Training [updated 2022]
    • M Language Online Course: The unofficial and Practical Reference Guide [updated 2025]
    • My Courses
  • Shop
    • Courses
    • Master Classes
    • Template Apps
    • JSON Themes
  • Cart
  • Register/ Log In
    • Become a Member
    • Log In
    • My account
    • My Courses
  • Search
  • Contact
You are here: Home / CM Tooltip Glossary Pro+ / ODD

ODD

posted on October 2, 2017

« Back to Glossary Index

Syntax

ODD(number)

Tutorial with example

In today’s DAX Fridays video I will show you how to round time, prices and numbers using ROUND, ROUNDUP, ROUNDDOWN, INT, TRUNC, ODD, EVEN, MROUND, FLOOR and CEILING. Rounding numbers, time and prices is a very useful skill as it will give you more control of your dataset and the accurancy in which your numbers are presented.

We are going through the functions in this order:

01:01 Round to the nearest number with ROUND
02:37 Round up to the nearest number with ROUNDUP
03:16 Round down to nearest number with ROUNDDOWN
04:11 Round down prices to the nearest integer with INT
05:00 Remove decimals from the number with TRUNC
05:48 Round up to the nearest odd number using ODD
06:11 Round up to the nearest odd number using ODD
07:43 Round prices to the nearest 0.05 of a euro cent with MROUND
08:58 Round down prices to the nearest 0.05 of a euro cent with FLOOR
09:23 Round up prices to the nearest 0.05 of a euro cent with CEILING
10:56 Round time to the nearest hour with MROUND
11:45 Round up time to the nearest 15 minutes with CEILING
12:31 Round down time to the nearest 15 minutes with FLOOR

DAX Fridays! #31: Rounding Time, Prices and Numbers with DAX

Download example file:

Link to Power BI file: here.

Remarks

  • If number is nonnumeric, ODD returns the #VALUE! error value.
    Regardless of the sign of number, a value is rounded up when adjusted away from zero. If number is an odd integer, no rounding occurs.
Was this helpful?
See Also:
  • CEILING
  • EVEN
  • FLOOR
  • INT
  • MROUND
« Back to Index

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer CTA

Join our community of +50,000 professionals

Become a Member

Subscribe to YouTube

About me:

Curbal AB
Badhusgatan 7B
722 15 – Västerås
Sweden

OrgNo: 5569680852 | VAT: SE556968085201

 

Location:

© Copyright 2014-2025 · Curbal AB · All Rights Reserved · Privacy Policy · Terms of Service · Refund Policy · Log In