Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a calculated column with the name 'Date' that represents date hierarchy and I want to calculate the months between today's date and this column in months when I use the following DAX:
= DATEDIFF(airbnb[Date], TODAY(), MONTH)
It returns the following:
An invalid numeric representation of a date value was encountered.
Solved! Go to Solution.
Can you check the datatype of airbnb[Date] column? If it is not in date format then that is the reason for this error.
You have to convert that column to date datatype.
Thanks,
Arul
Can you check the datatype of airbnb[Date] column? If it is not in date format then that is the reason for this error.
You have to convert that column to date datatype.
Thanks,
Arul
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 66 | |
| 47 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 189 | |
| 124 | |
| 106 | |
| 78 | |
| 52 |