Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create a filtered date table based on min and max values which are set to data type "Date/Time".
However I am getting an error telling me that "an invalid numeric representation of a date value was encountered".
But my "Date" in my Complete Date table is also set to data type "Date/Time".
So I have no values to my knowledge that are not data type "Date/Time".
Does anyone know why this happenning?
Hi, @Michaelbean21
You can try the following method to create a date table using the maximum and minimum values.
Date = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best practices recommend splitting DateTime values into two separate dimension tables: one for Date; the other for time.
DATESBETWEEN also requires date expression for the parameters:
Proud to be a Super User!
Paul on Linkedin.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |