Hello,
I want to use SSAS cube to get data from Dynamics AX and Pass data to wpf Devexpress PivotGrid.
I am using following order in AX to create cube:
Perspective–>View–>Query(with arguments)
Now when I change the arguments of query everytime I have to Process the cube manually and render the data.
I want that process to be done through c# code automatically.
i had tried below code
Server server = new Server();
server.Connect(cubeConnectionString);
Database database = server.Databases.FindByName(databaseName);
Cube cube = database.Cubes.FindByName(cubeName);
cube.Process(ProcessType.ProcessFull);
but it is not working.
Can anyone help??