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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
djwitkowski
Helper I
Helper I

Not Recognizing data type as Date, even though that's what's selected

Hi,

 

I am trying to perform a rolling average calculation, and I have the following DAX:

 

 
 

Capture.PNG

 

when i try putting the measure into a table, i get this message:

 

error.PNG

 

You can clearly see though that the column I used is a DATE... Does anyone have any insights?

 

date.PNG

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@djwitkowski 

Is the POS column a date as well?

LastDate.jpg

View solution in original post

3 REPLIES 3
jdbuchanan71
Super User
Super User

@djwitkowski 

Is the POS column a date as well?

LastDate.jpg

I feel incredibly dumb. I was copying the DAX from someone else in my company who had done the calculation before and I didn't catch that I put the wrong column in. Thank you for the second set of eyes!

I've totally never ever done anything like that at all.  😁

Glad I could help!

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.