I am trying to export 5.5M rows from PowerPivot (Excel 2010) into Access 2010 as a table. Do you know how I can do that?
Also, Access has no option of importing data from Powerpivot. I do not have powerquery in excel 2010 that I am using.
Please Help!!
If you had Excel 2013 you could use VBA to write directly from PowerPivot to Access. And Power Query would give you an easy way alternative of writing the PowerPivot data to Excel sheet in chunks and then you could use Access to import it piece by piece. Power Query is free to download and works with Excel 2010.
Without those I think you should use a flattened pivot table to materialize your PowerPivot data in Excel. Obviously you will have to do this in chunks also because of 1m row limits in Excel and likely resource constaints. So you could add filter and iterate through your dataset. This could be handled by VBA if this was to be a rerunnable process - but it wouldn't be pretty.
Related
I've a tableau workbook using excel as a data source. The excel uses lots for formulae inside and takes input parameters using cells on a particular worksheet. The issue is I want to input these parameters through Tableau, get the excel refreshed on the backend and show the output of the excel in Tableau. Any suggestions how can I accomplish this? Thanks much in advance
You can create parameters in Tableau. The Excel calculations using these parameters would also need to move into Tableau as Calculated Fields. Basically you would pull the raw Excel data into Tableau and perform calculations there using your Tableau parameters.
I want to automate the import process in power bi, But I can't find how to publish a csv file as a dataset.
I'm using a C# solution for this.
Is there a way to do that?
You can't directly import CSV files into a published dataset in Power BI Service. AddRowsAPIEnabled property of datasets published from Power BI Desktop is false, i.e. this API is disabled. Currently the only way to enable this API is to create a push dataset programatically using the API (or create a streaming dataset from the site). In this case you will be able to push rows to it (read the CSV file and push batches of rows, either using C# or some other language, even PowerShell). In this case you will be able to create reports with using this dataset. However there are lots of limitations and you should take care of cleaning up the dataset (to avoid reaching the limit of 5 million rows, but you can't delete "some" of the rows, only to truncate the whole dataset) or to make it basicFIFO and lower the limit to 200k rows.
However a better solution will be to automate the import of these CSV files to some database and make the report read the data from there. For example import these files into Azure SQL Database or Data Bricks, and use this as a data source for your report. You can then schedule the refresh of this dataset (in case you use imported) or use Direct Query.
After a Power BI updates, it is now possible to import the dataset without importing the whole report.
So what I do is that I import the new dataset and I update parameters that I set up for the csv file source (stored in Data lake).
I would like to import an Excel .xls file workbook into Powerbuilder. The file has 2 sheets and these sheets must be imported into 2 differenct db tables.
Any assistance is kindly appreciated.
Thanks
John.
First thing, there's nothing automagic, along the lines of a one-line solution that you could get for other file formats. There's a manual method, there's a scripting approach, and you can probably merge the two as a third option.
For a manual method, you can go into Excel and export your data as something that will import into a DataWindow. You don't mention your PowerBuilder version, but the file format for importing from Excel that comes to mind is CSV, which was added in PB9.
For a scripting approach, you can use OLE (assuming Excel is installed on the client machine) and access data however you want with the scripting engine, moving it into PowerBuilder in whatever format you want.
To mix the methods, you could use OLE to export the file to a couple of CSVs, then dw.FileImport() the data in.
Good luck,
Terry.
Postscript: Sybase has examples of OLE access, and examples of using ODBC, a solution I had neglected before.
If you give names to the areas with the data in Excel and then setup ODBC connections that point to them, you can access them like a database table from within PowerBuilder.
I want to export my database tables to an Excel 2007 spreadsheet using servlets. Can anybody help me on this? I use Postgres SQL as back end.
You may be looking for an API to write MS Office files. Since you note servlets, I assume you are coding in Java.
i am using ADO.Net oledb for inserting and fetching data from Excel database. I want to make first column in the excel sheet to bold and i want to add comments. I am achieving this thru Interop.Excel Application class.
i dont want to use interop. is there anyway to achieve through ADO.net query itself ? or some other way? My application is c# windows application
No way through ADO.NET, any more than there is of making a SQL Server column bold. ADO.NET treats Excel as a data source - formatting is something quite different and requires knowledge of the Excel spreadsheet format, such as you'd get via Interop. There are probably other libraries you can use if you search...