Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am getting error message
DataSource.Error: Microsoft SQL: 'datetime2fromparts' is not a recognized built-in function name.
when adding a start of month in Power Query (Date.StartOfMonth())
Here's a code of the PQ step:
= Table.AddColumn(PreviousStep, "Start of Month", each Date.StartOfMonth([date]), type datetime)
I am having this issue only in Power BI desktop, in the service all seems to be fine.
Is this a new bug?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.