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.
Exception: We cannot convert the value #datetime(2023, 5, 18, 0, 0, 0) to type Date..
when trying to convert or pass a date parameter into a query in power query mode.
conversation syntax:
Date_text = Date.ToText(Date_value)
Date_value is of date data type. I've also tried using
Date_text = Date.ToText(Date_value, "mm/dd/yyyy")
Date_text = Date.ToText(Date_value, #duration(1, 0, 0, 0))
I am using direct query mode.
Try Date.ToText(Date.From(Date_value), "MM/dd/yyyy" ) instead
Pat
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 |
---|---|
113 | |
103 | |
77 | |
66 | |
63 |
User | Count |
---|---|
142 | |
105 | |
102 | |
81 | |
68 |