Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
brianspo
New Member

FLOOR() Function Error in DAX

I'm noticing that the FLOOR() function in a calculated column appears as if the function isn't defined.  If I use CEILING() I'm given autocompletion prompts, but FLOOR() displays as if it isn't defined:

 

2018-07-03 09_47_15-Untitled - Power BI Desktop.png

 

However the function does work (this returns zero when used in a card).

 

I'm on the latest version (2.59.5135.781 64-bit (June 2018)).  Is this a bug?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @brianspo,

 

Have you test with directquery mode? If this is a case, they are lots of functions not allow to use in direct query mode, please consider to use measure to instead.

 

Regards,
Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @brianspo,

 

Have you test with directquery mode? If this is a case, they are lots of functions not allow to use in direct query mode, please consider to use measure to instead.

 

Regards,
Xiaoxin Sheng

That was it!  I imported the same data directly to my model and the function was available. 

Aron_Moore
Solution Specialist
Solution Specialist

Could be. My version is a bit newer and no issues. Try downloading again?

 

Capture.PNG

 

It looks like yours is a later release (.421 vs. my .721) and when I download again that's the version I get.

 

I tried again after downloading/reinstalling with the same results.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.