I'm trying to setup a query to a tableau server from MS Excel 2016 for the purpose of getting the data automatically out of tableau massaging it and emailing it out - I can do all of this relatively simple, HOWEVER, I have no clue how to setup the query to the tableau dashboard from Excel 2016.
Any advice would be highly appreciated I'm not certain even where to start and online searching has only netted me querying excel files from tableau, not the other way around
Related
Currently, I'm running several reports using SQL copying the data to Google sheets, amending said data to generate daily stats.
Most of the reports I run using SQL have the same date range.
If it helps I can post a couple of the SQL reports.
I'm hoping there's a way to automate this?
You can use Google Apps Script to pull data from SQL to Google Sheets and you can automate it by adding a time-driven trigger to run depending on how frequent you want it to.
References
Installable Trigger(Apps Script)
How to Retrieve SQL Data Automatically Using Google Sheets Script
I have created a rather large SQL Query in Microsoft SQL Server Management Studio. I got the query running great in the studio. Now I want to bring that code into Excel to be able to access it and refresh as needed. But when I copy the code it cuts off about 1/3 of the way as if I've hit a character limit. Does anyone know a way around this?
SSMS has limits..to overcome that,you can export to file like below
We use IBM Cognos Connection. I'm not entirely sure how it works. But we login on the web and run queries off it.
I am aware that Excel can use ODBC to directly import data from a database into the spreadsheet.
What I am unsure of is that - is IBM Cognos Connection a database? or just a reporting tool? I would like to get the data directly into excel, instead of running reports online. Is this possible, if so how?
IBM Cognos is a Bi tool it is sophisticated than a regular reporting tool. It is not a database rather it needs one to work with.
IBM Cognos comes with a tool called report studio where you can assemble the data sources and perform manipulations to view a neat report with a chart or a table.
You can however replace using Cognos with an Excel, provided you understand all the logic that has gone into stitching the report in Cognos. You will need to write all those logics in SQL to get the report in excel.
So I have an excel spreadsheet with Product and Notes. I'd like to import this information into SQL and everytime people enter more products and notes into this excel sheet, it will automatically updated to the new one whenever I run the syntax?
I finished creating Product - Notes, which I imported current data into that table.I was planning to use insert into function, and every day insert the new values in the table. But this seems too manual.
Is there a way i can do this? The excel spreadsheet is updated daily.
I'm using SQL Server 2008
I'm sure this is possible. You could have the excel connect to your database and then write some macros to save the data to the table when there are changes or new rows are written.
It would not be easy. There is a lot of complicated logic here and excel was not written to be a front end for a database.
I believe the time spent changing your spreadsheet to work this way would be better spent actually writing a client server application to modify the database using a web application or a local application. Client server front end applications are easy to write these days with lots of examples, tools and templates. For someone with experience a simple data entry / modification form is just a couple of days work for a robust application.
Changing the excel file would be much harder.
You could use SSIS to import the excel data into your database on a scheduled basis.
I am currently working on an application that is meant to be relaying realtime data on screens. I would like to know how to automatically report the resultset of a SQL query to a Microsoft excel sheet using SQL Server 2005.
Many thanks for your audience and anticipated help.
Cheers,
Tunde
Probably the simplest way of exporting from SQL Server to Excel in TSQL with OPENROWSET. Find out more.
Then schedule the running of the TSQL using SQL Server Agent.
The best would be to write a program Or even a excel Plugin in .net that writes your query result to a csv file at certain intervals that you can open with excel.