Forum Discussion
Anonymous
7 years agoNot applicable
Executing a SQL server query in power BI
I need to execute a sql server query in power bi. I know this isn't how it is generally done and PBI recommends writing queries in M query, my hand is kind of forced in this. I have an expressi...
- 7 years ago
hi, Anonymous
You could use SQL server query in the connector as below:
And for your case, I would suggest you use writing queries in M query.
https://docs.microsoft.com/en-us/powerquery-m/datetime-localnow
Best Regards,
Lin
v-lili6-msft
7 years agoCommunity Support
hi, Anonymous
You could use SQL server query in the connector as below:
And for your case, I would suggest you use writing queries in M query.
https://docs.microsoft.com/en-us/powerquery-m/datetime-localnow
Best Regards,
Lin