Foundation: Analysis Services Tabular
Analysis Services Tabular is what's known as an Online Analytical Processing (OLAP) Database. Not only does Analysis Service Tabular store the entire dataset in-memory, it maintains indexes of every "intersection" of each table in the model. While SQL based relational database is ideal for transformation and storage of data, the OLAP database (also known as a cube) is highly proficient for data retrieval. It is able to display filter results almost instantly.
Allow Access to MDW
When executing and Analysis Services model, data is extracted from the SQL database you have specified as your MDW. However, because of the inherently strict security of SQL, Analysis Services will not be able to access this database by default. When editing your semantic model's tabular endpoint you will have to options for authenticating the Analysis Services processing...
Option 1: Service Account (On-Prem SSAS Only)
This is typically the most common option, however it requires you to provide the Analysis Services "Service Account" the db_datareader role on the MDW database.
- Open Windows Services (Open Start, Type Services, Launch)
- Scroll to SQL Server Analysis Services
- Identify the "Log On As" user (default is NT Service\MSSQLServerOLAPService)
- Open SSMS & Connect to your SQL Instance (Database Engine)
- In the Object Explorer, Expand Security
- Right-click on Logins > New Login...
- For the Login name, type the name of the "Log On As" user found above including the domain (default is NT Service\MSSQLServerOLAPService)
- Navigate to the User Mapping tab
- Check the name of your MDW database
- Under "Database role membership" select db_datareader
- Click OK
Option 2: Windows user
- Type the name of a windows user (of if using SQL Authentication the SQL User) who has read rights to the MDW database.