Salesforce Analytics Query Language
Just like all other query languages, SAQL retrieves data from the dataset. Lenses and dashboards also use SAQL behind the scenes. It gathers the meaningful data for visualizations.
Using SAQL
There are the following three ways to use SAQL in Einstein Analytics:
- Creating steps/lenses: We can use SAQL while creating a lens or step. It is the easiest way of using SAQL. While creating a step, Einstein Analytics provides the flexibility of switching between modes such as Chart Mode, Table Mode, and SAQL Mode. In this chapter, we will use this method for SAQL.
- Analytics REST API: Using this API, the user can access the datasets, lenses, dashboards, and so on. This is a programmatic approach and you can send the queries to the Einstein Analytics platform. Einstein Analytics uses the OAuth 2.0 protocol to securely access the platform data. The OAuth protocol is a way of securely authenticating the user without asking them for credentials. The first step to using...