Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
103 | |
98 | |
98 | |
38 | |
37 |
User | Count |
---|---|
152 | |
120 | |
73 | |
72 | |
63 |