Category / Section
How to create an Offline cube through SSAS
3 mins read
We can create our own Offline cube, when the database is stored in the SQL Server Management Studio. The steps to create our own Offline cube is as follows.
Steps to create an Offline cube through SSAS:
- Open the SSMS(SQL Server Management Studio)
- Connect the Analysis Service database
- Right Click the selected database and select New MDX query
- Write the query logic to create for offline cubes
Example MDX query for Offline cube creation with Adventure Works database:
[MDX]
CREATE GLOBAL CUBE [Adventure Works]
STORAGE 'C:\AdvWorks.cub' FROM [Adventure Works]
(
MEASURE [Adventure Works].[Internet Sales Amount],
DIMENSION [Adventure Works].[Date]
)
For more information, please visit Creating Offline cube from SSAS