Hi all,
I'm just wondering if anyone has connected to SQL server via a custom SQL query in Power Query? I've basically done this in Tableau but the report is very slow due to lots of calculations in Tableau so I would like to do it in Excel instead. I'd like some level of automation which is why I'm going for Power Query where I can hopefully refresh the connection each day. I'm not familiar with Power BI.
I can see that if you go the Data tab -> Get Data -> From Database -> From SQL Server Database , you get the below window. I'm having trouble with connecting correctly here
This is my work database so would I be right in saying the server name is the work server name, the database is the name of the database within that server?
Can the SQL statement be as complex as a normal SQL statement within SQL server studio? I had issues with custom SQL queries in Tableau and Tableau not accepting common table expressions but I'm assuming as Excel and SQL are both Microsoft applications there shouldn't be any syntax issues?
Can anyone provide some help to point me in the right direction?
I'm just wondering if anyone has connected to SQL server via a custom SQL query in Power Query? I've basically done this in Tableau but the report is very slow due to lots of calculations in Tableau so I would like to do it in Excel instead. I'd like some level of automation which is why I'm going for Power Query where I can hopefully refresh the connection each day. I'm not familiar with Power BI.
I can see that if you go the Data tab -> Get Data -> From Database -> From SQL Server Database , you get the below window. I'm having trouble with connecting correctly here
This is my work database so would I be right in saying the server name is the work server name, the database is the name of the database within that server?
Can the SQL statement be as complex as a normal SQL statement within SQL server studio? I had issues with custom SQL queries in Tableau and Tableau not accepting common table expressions but I'm assuming as Excel and SQL are both Microsoft applications there shouldn't be any syntax issues?
Can anyone provide some help to point me in the right direction?