When I try to connect PowerPivot PostgreSQL database(at the point when I need to "Choose how to import the data". When I choose to select from tables and views, I get error below. When I choose to write sql query and press on 'design' button, empty window opens up (it should open tables from database)), I get this error message:
"No tables were found in the data source. Check the connection information and login credentials."
I use "Connection to data source - Others (OLEDB/ODBC)". I have installed PostgreSQL ODBC driver. I use PostgreSQL ANSI driver (tried UNICODE, got the same error). When I test connection, it says "connection succeeded). Also If I use same connection to same database for Pivot Table, everything works and I can take any table from my database.
I use MS Office 2012 32 bit and PowerPivot is 32 bit too.
So I suppose no one got any ideas what could be wrong?
Was having the same problem - successful connection but list of tables was empty. Only way I can import data is to select "Write a query that will specify the data to import" instead of "Select from a list of tables and views to choose the data to import." Slightly more tedious, but gets you access to the data :)
Basic Query:
Select * from catalogname.tablename
My tables were listed under a public schema within the catalog, so:
Select * from catalogname.public.tablename
Could not import a specific column, so this was my successful query to confirm connection and get access to data: Select column1, column2, column 3 from catalogname.public.tablename
I investigated this problem. PostgreSQL ODBC driver contains some bugs and this is the reason of this error:
"No tables were found in the data source. Check the connection information and login credentials."
I think this could be a problem with the odbc driver for postgresql. Did you install the 64 bit driver? I would check on this and, in the meantime, I agree that you should try writing a query that will specify the data and see if that is a viable workaround.
Related
I have just spun up my cluster and I was about to delete a table like I often do from with with Data workspace. However, it seems like Databricks have changed there interface and I'm now unsure how to delete a table without writing code.
Can someone show me how to delete a table from with Data Explorer please. For example I would like to delete the table trips from without Data Explorer
I would like to return to the option where I can delete a table from the Data Explorer tab as shown in the image
Data Explorer is a readonly tool. You can explore data, but for any action (DML, DDL) just use a cluster/warehouse and run the query. The only exception is that you can grant ownership/permissions with it.
I would like to create a script in Excel to look at my IBM Personal Communications Screen or data source(preferred) and then to parse that screen text into cells.
Any ideas on where to even begin?
Example of Screen
I would handle this using SQL inside of Excel. This technique will not grab data from your display file. It will instead use your second option of getting it from the underlying database tables.
Create an .odc file with connection information to get to the IBM i DB2 database. On my PC, ODBC and OLE DB drivers were installed along with the emulator so that you can connect to the IBM i using Microsoft protocols.
In Excel, choose "Data, Connections". In that dialog box pick "Add" and choose your connection file. It may ask you for a specific table to select from, but you can pick whichever because we are going to change it in just a minute.
A new data connection is now on the list in the dialog box. Choose "Properties" to edit it.
Replace the autogenerated SQL on the "Definition" tab "Command Text" field with SQL that actually selects the data relevant to you from the tables you are interested in. You can get as fancy as you want with this SELECT statement: joins, CTE's, sub-queries, anything that is well-formed DB2 for i SQL.
Close these windows, saving changes. The connection is now independent of the original .odc source.
Choose "Exisiting Connections" to run the query and to have Excel populate a worksheet table with the data. If you have SQL errors, you will get them at this point when the query is actually sent to the IBM i.
Edit the SQL until you are happy with the data you are returning. You can also use "Refresh" to re-run it and get the latest data whenever you want.
What is difference between LEI Direct Transfer and Replication activities?
I'm trying to copy/sync data from DB2 to Notes just one way. Any updates in DB2 should go into Notes.
So what activity should I use.
BTW, Direct Transfer creates duplicate views in Notes db. What could cause that?
Thank you
Either option would work, though if you're looking to "sync" data between the two I'd probably lean to the replication. I have a client that uses the Direct Transfer to move data from Domino to DB2 and it works fine for them.
Regarding the duplicate issue, it sounds like you're saying duplicate entries (docs) are created in the NSF and not actual Views in the NSF? On the Target Data Options tab for the activity, do you have the Try Update before Insert option checked? That should prevent that if the Target Key Field has a field selected that does not have a value that changes after the entry is created in DB2.
After connecting to analysis server through excel,when I am trying to import complete data into excel getting error after being loaded few rows.
Try changing the ServerTimeout server property to a value high enough for this operation to complete. To do this, connect to the SSAS server through SSMS and right-click the instance name then select Properties. Go the the General Tab, check the Show Advanced (All) Properties checkbox and find the ServerTimeout property. This is set in seconds with the a default of 3600 (one hour) as seen in the error message. Modify the Value column to be high enough to finish this task. After changing the ServerTimeout property press OK and this will be effective immediately with no restart necessary. For more details on this and other SSAS properties review the documentation. If what you're importing into Excel typically takes longer than an hour, you may want to look into another means of performing this such as SSIS.
trying to run Tableau on top of DSE 4.7. It fails. I can't do something in worksheet or preview the data. Get this error:
"Missing EOF at 'tablename_i_try_to_query' "
What is the right way to fix it?
So I've resolved it.
When you setup datasource it Tableau, you have to specify cluster, database and table (a.k.a. column family).
I specified CF/table 'tablename_i_try_to_query' and dragged it to the pane on the right.
Then I specified database. It didn't work. Tableau generated query without specifying database.
Then I removed table from pane and put it back again. Tableau started to generate correct query with database.tablename_i_try_to_query