![]() |
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 API Driver for ODBC, you can create a tabular model from Harvest 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.
Start by setting the Profile connection property to the location of the Harvest Profile on disk (e.g. C:\profiles\Harvest.apip). Next, set the ProfileSettings connection property to the connection string for Harvest (see below).
To authenticate to Harvest, you can use either Token authentication or the OAuth standard. Use Basic authentication to connect to your own data. Use OAuth to allow other users to connect to their data.
Using Token Authentication
To use Token Authentication, set the APIKey to your Harvest Personal Access Token in the ProfileSettings connection property. In addition to APIKey, set your AccountId in ProfileSettings to connect.
Using OAuth Authentication
First, register an OAuth2 application with Harvest. The application can be created from the "Developers" section of Harvest ID.
After setting the following connection properties, you are ready to connect:
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 Harvest 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 Harvest data in your SSAS instance, ready to be analyzed, reported, and viewed. Get started with a free, 30-day trial of the CData API Driver for ODBC.
Connect to live data from Harvest with the API Driver
Connect to Harvest