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.
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.
Hi @Vucko
I tested with your query , everything is normal . What version of Desktop are you using to test ?
Best Regards,
Community Support Team _ Ailsa Tao