A data source in Analysis Services specifies a direct connection to an external data source. In addition to physical location, a data source object specifies the connection string, data provider, credentials, and other properties that control connection behaviour.
Information provided by the data source object is used during the following operations:
- Get schema information and other metadata used to generate data source views into a model.
- Query or load data into a model during processing.
- Run queries against multidimensional or data mining models that use ROLAP storage mode.
- Read or write to remote partitions.
- Connect to linked objects, as well as synchronize from target to source.
- Perform write back operations that update fact table data stored in a relational database.
Regardless of how you build it, each model requires at least one data source object that specifies a connection to source data. You can create multiple data source objects in a single model to use data from different sources or vary connection properties for specific objects.
Data source objects can be managed independently of other objects in your model. After you create a data source, you can change its properties later, and then pre-process the model to ensure the data is retrieved correctly.
Click here for step by step instruction to create data source.
Data Source View
A data source view (DSV) is an abstraction of a relational data source that becomes the basis of the cubes and dimensions you create in a multidimensional project. The purpose of a DSV is to give you control over the data structures used in your project, and to work independently of the underlying data sources (for example, the ability to rename or concatenate columns without directly modifying the original data source).
You can build multiple data source views in an Analysis Services project or database on one or more data sources, and construct each one to satisfy the requirements for a different solution.
Click here for step by step instruction to create data source view.