![]() |
VOOZH | about |
NOTE: For Excel for the web (Excel 365) and Excel 2019 or higher, Power View is no longer supported. Microsoft encourages the use of Power BI for those users. Please read our article on working with AlloyDB in Power BI using our Power BI connector for more information.
You can use the built-in ODBC support in Excel to rapidly create Power View reports featuring AlloyDB data. This article shows how to use the Data Connection Wizard, accessible from the Data ribbon, to import AlloyDB data into a Power View report.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
The following connection properties are usually required in order to connect to AlloyDB.
You can also optionally set the following:
Standard authentication (using the user/password combination supplied earlier) is the default form of authentication.
No further action is required to leverage Standard Authentication to connect.
There are additional methods of authentication available which must be enabled in the pg_hba.conf file on the AlloyDB server.
Find instructions about authentication setup on the AlloyDB Server here.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to md5.
This authentication method must be enabled by setting the auth-method in the pg_hba.conf file to scram-sha-256.
The authentication with Kerberos is initiated by AlloyDB Server when the ∏ is trying to connect to it. You should set up Kerberos on the AlloyDB Server to activate this authentication method. Once you have Kerberos authentication set up on the AlloyDB Server, see the Kerberos section of the help documentation for details on how to authenticate with Kerberos.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
Follow the steps below to connect to the DSN from the Data Connection Wizard in Excel.
Select the tables you want to work with.
If you want to import multiple tables, deselect the "Connect to a specific table" option. After you connect to the data source, you can select multiple tables: After you click Finish to close the Data Connection Wizard, select the "Enable selection of multiple tables" option in the Select Table dialog.
Tables are the starting point for charts and other representations of your data. To create a table, select a column in the field list. You can also drag and drop table names and column names onto the view.
👁 A table with a filter applied. (Salesforce is shown.)On the Design tab, you can change tables into charts and other visualizations.
👁 The table of data represented as a stacked bar chart. (Salesforce is shown.)Download a free trial of the AlloyDB ODBC Driver to get started:
Download NowLearn more:
👁 AlloyDB IconThe AlloyDB ODBC Driver is a powerful tool that allows you to connect with live data from AlloyDB, directly from any applications that support ODBC connectivity.
Access AlloyDB data like you would a database - read, write, and update AlloyDB 0, etc. through a standard ODBC Driver interface.