Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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