Is it possible to, from Excel, connect to a qlikview server and fetch data? I know exporting from qv to excel is a nobrainer but have not found a way from Excel. I am thinking of connecting, then selecting qv data and then fetching result, and all of this with vba from excel.
Is it possible?
You need to write load script which will extract the data from QlikView. Or you should use the data load wizard in QlikView. You need QlikView Desktop to do this.
Related
I have an online data source that I've linked to excel using the domo excel extension. This enables me to download data tables straight from domo into a an excel doc. My goal is to use a macro to automate the following steps:
At a 12am ET on Sunday morning, open an new excel document
Access the extension and download a data table
Save the newly populated excel table as "Data File (date)" into a specific folder.
In my limited experience with VBA, i attempted to record even just the download process from an open sheet and excel stops recording as soon as I click on the extension tab.
two-part question: First, is there a way to access the extension via my macro? If so, is it possible to schedule the desired process?
Thank you!
In current excel sheets I work with with data import/refresh via ODBC connection where I import data from our ERP system into excel 2010. When refreshing data to excel, the existing data is deleted and replaced with the newly imported data.
Now I want to create a log file, so im looking for a way to add data to the already imported and existing data in the excel sheet. The import data properties do not offer me that functionality. Any suggestions to implement this with VBA / Macro?
Thank you very much for your suggestions.
There is not too much data so considering keeping it in an excel workbook, but can also do it with SQL whichever could work better.
Thanks!
You can download a sheet to a CSV or XLSX file using the GET /sheets/{sheetId} endpoint and an Accept header as documented here:http://smartsheet-platform.github.io/api-docs/#get-sheet-as-excel-pdf-csv
Then it's up to you to import into Excel or SQL server.
There is also an ODBC connector: https://www.smartsheet.com/apps/smartsheet-odbc
I have a Excel file the data in it is imported to powerpivot the issue here is that each time I download the file onto a new machine from the same server where the file is stored. It shows an error and the data is not automatically refreshed. Is there any VBA code that we can use to automatically update the power pivot table. The machine has Excel 2013. After manually refreshing the file it works fine. But I have to it each time I download the file.
To interact with a power pivot model though VBA you would use the ThisWorkbook.Model object.
So for example to Initialize the power pivot model to memory and then refresh it, it would be the following two commands.
ThisWorkbook.Model.Initialize
ThisWorkbook.Model.Refresh
I have a functioning Tableau chart using multiple data sources, one of them being an Excel file.
I now want to replace the Excel file with its equivalent csv (same content and structure). However, I can't seem to find the way to do it. Simply replacing the data source in Edit Data Source gives an "Unexpected Error" where the detail says "Illegal file type for Excel protocol" (not that unexpected error if you ask me).
Is there a way to do so without needing to rebuild the charts which use the fields from this data source?
Connect to the csv (extract if you will, I strongly recommend you do).
Make sure all the fields in the csv has the same names of that in the Excel.
Now right click the excel data connection and choose replace data source. Now replace the excel data source by the csv one.
If there are calculated fields on the excel data source, I recommend you copy and paste on the csv (inside Tableau, after the connection)