I have a power query to a SQL database that works fine as stated below.
let
Source = Sql.Database("GVL03", "M2MData01", [Query="select frcpdate from rcmast where frcpdate > 01/01/1900)"])
in
Source
What I want to do is reference a cell and replace the last part "Cast('01/01/1900'... With a date they put into a cell.
I have created a table with the date in it and is in the Power Query and works
then have tried to update the first Query Code with
Source = Sql.Database("GVL03", "M2MData01", [Query="select frcpdate from rcmast where frcpdate > "
& Excel.CurrentWorkbook(){[Name="BeginDate"]}[Content]{0}[BeginDate])])
I get Error: Expression.Error: We cannot apply operator & to types Text and DateTime
Any help would be appreciated, Thanks.
Bookmarks