![]() |
VOOZH | about |
SQL Server Analysis Services (SSAS) is an analytical data engine used in decision support and business analytics. It provides enterprise-grade semantic data models for business reports and client applications, such as Power BI, Excel, Reporting Services reports, and other data visualization tools. When paired with the CData ODBC Driver for Google Spreadsheets, you can create a tabular model from Google Sheets data for deeper and faster data analysis.
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.
You can connect to a spreadsheet by providing authentication to Google and then setting the Spreadsheet connection property to the name or feed link of the spreadsheet. If you want to view a list of information about the spreadsheets in your Google Drive, execute a query to the Spreadsheets view after you authenticate.
ClientLogin (username/password authentication) has been officially deprecated since April 20, 2012 and is now no longer available. Instead, use the OAuth 2.0 authentication standard. To access Google APIs on behalf on individual users, you can use the embedded credentials or you can register your own OAuth app.
OAuth also enables you to use a service account to connect on behalf of users in a Google Apps domain. To authenticate with a service account, register an application to obtain the OAuth JWT values.
See the Getting Started chapter in the help documentation to connect to Google Sheets from different types of accounts: Google accounts, Google Apps accounts, and accounts using two-step verification.
Start by creating a new Analysis Services Tabular Project in Visual Studio. Ensure that you select a Compatibility Level of 1400 or higher in the Tabular model designer dialog. Next create a Data Source for Google Sheets in the project.
After creating the data source you are ready to import tables and define the relationships between the tables.
After importing the tables and defining the relationships, you are ready to create measures.
Once you create measures, you are ready to deploy the model. Configure the target server and database by right-clicking the project found in the Solution Explorer and selecting "Properties." Configure the "Deployment Server" properties and click "OK."
π Configuring the deployment databaseAfter configuring the deployment server, open the "Build" menu and click "Deploy Solution." You now have a tabular model for Google Sheets data in your SSAS instance, ready to be analyzed, reported, and viewed. Get started with a free, 30-day trial of the CData ODBC Driver for Google Spreadsheets.
Download a free trial of the Google Sheets ODBC Driver to get started:
Download NowLearn more:
π Google Sheets IconThe Google Sheets ODBC Driver is a powerful tool that allows you to connect with live data from live Google Spreadsheets, directly from any applications that support ODBC connectivity.
Read, write, and update online sheets through a standard ODBC interface.