Forum Discussion
Anonymous
6 years agoNot applicable
How to Reference Parameter in ODBC Query
Hi All I've got the following query and it works fine. The lines below are from the advanced editor: let Source = Odbc.Query("dsn=DW", "SELECT * FROM mwrdw.dbo.as_sales WHERE fiscyear >= 20...
- 6 years ago
Anonymous ,
Refer if this can help: https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/
amitchandak
6 years agoSuper User
You are passing as text parameter, it needs number
Anonymous
6 years agoNot applicable
That solved it! When I put '2020' in the parameter it worked - thanks!