Forum Discussion
Anonymous
7 years agoNot applicable
Automatically updating datess in SQL code
Hello, We're importing tables from a SQL server and are running some SQL before it's imported from the "SQL Server Database" window and using the "Advanced Options">"SQL Statement" box into Power...
- 7 years ago
Have a Look at GETDATE() in SQL.
Will give you the current DateTime
Anonymous
7 years agoNot applicable
Thanks for your quick reply.
Sorry stupid question: How would I do that?
Thanks
Stuart
RobbeVL
7 years agoImpactful Individual
Have a Look at GETDATE() in SQL.
Will give you the current DateTime
- Anonymous7 years agoNot applicable
Ah right, For some season I thought these functions wouldn't work in Power BI.
Thanks
- RobbeVL7 years agoImpactful Individual
The Query will still be run in your Database, PowerBI just sends the query and retreives the data.
Good luck!