You are on page 1of 9

Documentation for Processing AX 2009 Cubes

Created by

Mohammed Abdul Aleem Quadri

Abdul.aleem@ignify.com

Date: 13 April 2009

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes

Table of Contents
Introduction .............................................................................................................................................. 3
SSIS Package for Processing AX2009 Cubes .............................................................................................. 3
SQL Job for Processing AX 2009 Cubes ..................................................................................................... 7
Conclusion ................................................................................................................................................. 9

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
Introduction
The out of the AX 2009 Cubes are installed when Analysis extensions is setup using the AX 2009 Setup.
Once the cubes are installed, they have to be processed so that latest data is available in the cubes. The
setup does not create any automatic process/job for processing the cubes on a regular basis. This
document describes the steps to create an SSIS package and a SQL job to process the cubes. The
document contains two main sections:

1. SSIS Package for Processing AX 2009 Cubes


2. SQL Job for Processing AX 2009 Cubes

The SQL Job is used to execute the SSIS package for Processing AX 2009 Cubes.

SSIS Package for Processing AX2009 Cubes


Follow the steps below to create an SSIS package for processing AX 2009 Cubes:

1. Open BIDS (Start > All Programs > SQL 2005> SQL Server Business Intelligence Development
Studio)
2. File > New > Project (Or press Ctrl+Shift+N)

Select Integration Services Project and Enter Name of the Project and select the location for
saving the solution file. Choose the checkbox for Create Directory for Solution. This will create a
folder for the solution. Click OK.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
3. On the right side from the Toolbox, drag and Drop the Analysis Services Processing Task in the
Control Flow area.

4. Right Click on the ‘Analysis Services Processing Task’ and click ‘Edit’.
5. In the ‘Analysis Services Processing Task Editor’ window, Go to ‘Analysis Services’ Tab and Click
on ‘New’ Button in the Analysis Services Connection Manager.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
6. In the ‘Add Analysis Services Connection Manager’ window, Select ‘Create a connection to a
computer running Analysis Services’ and Click on ‘Edit’ button.

7. In the Connection Manager, Enter the Server Name and Select the Initial Catalog as ‘Dynamics
AX’

Test the connection and the result should be successful.


Click OK and then Click OK In the ‘Add Analysis Services Connection Manager’ window also.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
8. Now back to the ‘Analysis Services Processing Task Editor’ window, in the Processing
Configuration> Object List, Click on ‘Add’ Button:

9. In the ‘Add Analysis Services Object’ Window, select the checkbox for Dynamics AX and click OK:

Note: If only selected Cubes or Dimensions have to be processed expand the ‘Cubes’ or
‘Dimensions’ and select the required cubes and dimensions.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes

10. Go to File > Save all or Press CTRL + SHIFT + S


11. Now this Package is ready and should be deployed on SSIS. Go to Start > All Programs > SQL
Server > SQL Server Management Studio
12. Enter the server name and Connect to Integration Server.
13. Expand Stored Packages, and right click on MSDB and Select ‘Import Package’.
14. In the ‘Import Package’ window, select Package location as File System and Browse to the
Package Path.

Enter package Name as ‘Process AX 2009 Cubes’


Click OK. The Package is now Successfully Deployed on SSIS and is displayed under ‘MSDB’ node.

SQL Job for Processing AX 2009 Cubes


Follow the steps below to create a SQL Job to Process AX 2009 Cubes

1. In SQL Management Studio, connect to SQL Database, and expand SQL Server Agent.
Note: SQL Server Agent should be running. If it is not running got to services and start it.
2. Right click on ‘Jobs’ node and Click on ‘New Job’
3. In the ‘New Job’ Window, enter the name of the Job as ‘Process AX 2009 Cubes’.
4. Create a new Job Step and name the Step as ‘Call SSIS Package to Process AX 2009 Cubes’. Select
Type as ‘SQL Server Integration Services Package’.
5. In the general tab, Select Package Source as SSIS Package Store and enter the name of the
server.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
6. Browse to the location of the Package by clicking on the button adjacent to text box for Package:

Click OK on Select an SSIS package window and then Click OK on New Job Step Window.

COPYRIGHT IGNIFY INC © 2008


Documentation for Processing AX 2009 Cubes
7. Now back on the ‘New Job’ Window, go to Schedules tab and create a new schedule the job
according to the requirement.

8. Click OK on New JOB window. The SQL Job for Processing AX 2009 Cubes is complete. The Job
will run according to the schedule. The job can also be tested by starting the job from SSMS.

Conclusion
This document describes one method for processing AX 2009 cubes. There are multiple ways of
processing cubes and this method is one of them. Please do thorough analysis of other methods for
processing cubes before implementing this method.

Microsoft, the Microsoft Dynamics Logo and Microsoft Dynamics Axapta are either registered
trademarks or trademarks of Microsoft Corporation, FRx Software Corporation, or Microsoft Business
Solutions in the United States and/or other countries.

About Ignify
Established in 1999, Ignify is a privately held ISO 9001:2008 certified company targeting the mid-size to
enterprise business segments. The company's comprehensive set of Business to Business (B2B) and
Business to Consumer (B2C) e-commerce solutions increase online sales while lowering overall
operation costs. Ignify also provides consulting services for Dynamics ERP and software development
initiatives and is a Microsoft Gold and Sage Certified Partner. Ignify has offices in Los Angeles, Silicon
Valley, Nashville, Toronto, Phillipines and India. For more information, visit http://www.ignify.com

COPYRIGHT IGNIFY INC © 2008

You might also like