I am working with a Pivot table in Excel that uses a connection to a SAS db. I want to join in a few of my own tables to the connection to add to the pivot table, and have added them into different tabs in the Excel workbook and then use the Get Data feature to import them into the data model. However, it won't let me merge any of the new tables with the original connection. Is there a way to do this?
There is no way for me to alter the SAS db as its owned by a different team in my organization.
Related
I have an excel file that collects data from multiple txt files into connected individual tables (1 table per each file) as connection only tables. I have done this because some of them contain >1m tables. In excel, I have appended those tables using Power Query/Apend function. I need to create a new table that contains all the data, however the resulting data is >1m rows, and I can't load it back to excel.
Is there a way to load my connection (summary of all tables) to access?
When I try to do that using import function in access, it does not recognise the connection as a table so I am not sure how to do this.
Thank you,
Load it to the Excel data model which doesn't have a 1m row limit.
You cannot load from PQ to Access (nor would you want to).
I need to delete query steps after loading the data into model. The reason is to hide the sources, protect our know-how, or maybe I'm just not very proud of what I've done ;).
But when I delete PQ connections or change "Load To" option, also the tables disappear from data model and pivot table becomes unresponsive. It's also not possible to modify or delete the connection created in Power Query from Power Pivot window, or even view table properties.
I could use Review > Protect Workbook > Protect Structure to disable viewing and editing queries / connections, but the steps are still visible, and the user cannot modify the workbook; even pivot table drill-through function doesn't work as it needs to create a new sheet to show data rows.
If you need to remove the query steps, then you have to store the data within the Excel file (since a query is just a set of instructions for how to connect to the data and transform it).
What you can do is create a query, load it to a table in an Excel sheet and then delete the query, leaving a static table. You can then create a pivot table using this static table as the source and it should function normally (though you obviously won't be able to refresh the data). I.e. don't create a data model until you've loaded your data and removed the query.
I have an excel sheet with a single workbook with data in it. The data is around 1000 rows and 50 columns. I need to import these data to an Oracle DB every week. Here comes the problem, the columns in the sheet belongs to different tables with some columns go in multiple tables. I use SQL Developer V.18.1.0.095. Thanks in advance for the help.
Note: I created a temp table and copied all data to it, then wrote the query to push each column to its respective tables. But, I feel its complex and think it won't work. Is there any better way.
PL/SQL Developer has special tool for tasks like this, calls ODBC Importer (Menu 'Tools'-> ODBC Importer).
For use it you have to set Excel File in USER / System DSN field and your domain user and password, and push Connect after.
After connection developer will ask you path of excel file, and after you can create table in heiborhood tab for your dataset.
Or, you can use sql loader. Ask google how to. It's easy.
I have a ton of records across 5 different tables in Access that I'm consolidating in one query.
I want to now be able to connect that query to excel and pivot the data that is in the query. Is that possible? If so, is there a way to do it without added VBA? I was thinking of slowly exporting the consolidated data into a new table in access but with over 7 million records, it'll take some time. Anyway to save myself that headache? When I connect the DB to excel, the only tables that are coming up are the 5 tables and not the query.
I'm trying to build up a report of data in a SQL database using Excel. I am able to create connections and pull data into pivot tables and pivot charts.
However, I don't like having to create a new connection for every different query I want to run. Is it possible to have one single datasource connection open to my whole database, and then specify queries for each pivot table? This could also potentially improve refreshing performance as Excel doesn't have to create a new connection for each query.
Are there perhaps better tools for graphing lots of different SQL queries?
Thanks!