Issue with passing a date parameter to the SQL query in Power BI.
I have created a parameter with date data type, trying to pass that date param to the query but received a conversion error.
Select * from table1 where created_date <= '" &StartDate& "'
Created_date in the table is in date format.
StartDate parameter also is in date format.
Message=Conversion failed when converting date and/or time from character string.