Multiple users connected to one ODBC DSN - powerbi

I am trying to connect Power BI to a third party database, i have created a system DSN and connected Power BI through the DSN to an ODBC driver. This works locally as long everything is on the same machine.
However, how can i configure the DSN so that it can be accessed by multiple users on many other different machines.
I have considered creating a DSN on the machine of each user but this seems redundant.
This question can be asked this way: is there a method that allows me to create one ODBC driver, one DSN, on the machine that holds the database and connect multiple users remotely to that ODBC driver using that one DSN ?

Related

PowerBI Pro unable to test connection to data source, Redshift

Was able to connect PowerBI Desktop to a Redshift Cluster and visualize data from there.
However, I have a need to setup Autorefresh and other options that require the Data source credentials to be maintained and connected.
Importing my data from PowerBI Desktop to Pro (web version), it is unable to connect.
On PowerBI Pro it is unable to make such connections and receiving the following. Also verified that my credentials are correct.
Any help would be appreciated.

Which driver to connect Power BI to DB2?

I have an odd question on connecting Power BI to a DB2 database.
I currently seem to have three similar drivers installed on my computer. If I look in ODBC data source administrator under the drivers tab I can see that they have the following names:
IBM DB2 ODBC DRIVER
IBM DB2 ODBC DRIVER - DB2COPY1
IBM DB2 ODBC DRIVER - IBMDBCL1
The first and third driver have the same version number (10.05.00.420). The second has a different version number (11.01.4041.600).
All three use the same DLL file (DB2CLIO.DLL).
All three seem to be able to connect Power BI to DB2 when used as a DSN, so I'm trying to establish which I should be using.
I want to know if these are different versions of the same driver which have been given different names during installation, or whether they are different drivers. And if they are different drivers, what is the difference?
Any advice would be appreciated please!
From IBM: "The IBM Data Server Driver for ODBC and CLI contains the copy name as part of the driver name. The default driver, IBM DB2 ODBC DRIVER, is set to the default IBM database client interface copy. The name of the driver for each installation is "IBM DB2 ODBC DRIVER - Copy Name"."
So if you select the first one, IBM DB2 ODBC DRIVER, ODBC will check with your settings and use the default driver copy on your computer, which will be one of the other 2 drivers. You set the default by using the db2swtch command.
The driver version should be tied to the version of DB2. Check with your DBA or just check with the right SQL for your DB2 platform (Windows, Linux, Z/OS, etc.).

Interfacing C++ with SAP ERP

Is it possible in C++ Visual studio that I can connect to SAP Database, write data to it ?
For example, I'm doing a facial recognition project and it's already done, but the remaining part is to connect SAP and write the Face ID of the user to the HR database plus the time stamp.
Ahmed, first you need to determine what the database your SAP system is running on, doesn't sound like you know so get that information first so you can get the right driver. Then the answer to your question is, yes. Create a connection using your driver first to connect to the server and database you are trying to update, you'll need to get the server name, database name and database credentials for your DBA, then in Visual Studio go to View > Server Explorer to add access to your new connection and then write your SQL to update insert you records.
The second part, yes if you write to the database tables properly it will show up in SAP.

Accessing SQL server from host machine on Oracle VM Virtualbox For SAS Programming

I am using SAS University edition and want to access the data from SQL server on my host machine(Windows 8.1 64 bit) in my SAS code. Virtual Machine(Oracle VM Virtualbox) OS is also Windows 8.1 64 bit. I am getting following error.
ERROR: The product with which the engine ODBC is associated is either not licensed for your system or the product license has
expired. Please contact your SAS installation representative.
SAS UE can only use Access to PC Files. You will not be able to connect to a database.
Either export/import your data manually via text files or try connecting an excel spreadsheet to your database.

Can SPSS access data from SAS server through the SAS ODBC driver?

SAS-datasets in a SAS/SHARE server can be made accessible for ODBC-compliant applications using the SAS ODBC Driver (http://support.sas.com/downloads/browse.htm?fil=&cat=40)
I want to access such a server through ODBC from SPSS - is this at all possible?
SPSS can use any standard ODBC driver.
Absolutely it can - have you used SPSS to connect to an ODBC data source before?
If not, you should be able to set up an ODBC connection using the ODBC Data Source Adminstrator (on Windows): https://learn.microsoft.com/en-us/sql/odbc/admin/odbc-data-source-administrator?view=sql-server-2017
And for SAS/SHARE in particular: http://support.sas.com/documentation/cdl/en/odbcdref/64777/HTML/default/viewer.htm#n1huqo74tuh90wn1vooxwjrqilgb.htm