Hi,
I was trying to extract data from an SSAS cube into a relational table, basically create a fact table out of the cube, where I'd have the dimension's natural keys and the measure values.
I tried using the Microsoft OLE DB Provider for Analysis Services 9.0 to connect to the cube, and using the SQL Command option I was able to query the dimension tables (select * from [$Date].[$Date]) and push the data into a relational table. However for the cube data, I was only able to query the measure group and the cube dimension values separately. Apparently the 'tables' in which the measure group data and the cube dimension data is different, and I'm not able to find a relationship between them. Also for the cube dimension data I see one table for each cube-dimension combination. Am I taking the right approach?
I also tried using Linked Server to my OLAP database, and then use MDX to get data, but the problem remained that I wasnt able to write a MDX that would just give me rows of data with all the dimension keys and measures flattened out in a table.
Is there any other approach to get data from the cubes into a relational table?
Thanks
I was trying to extract data from an SSAS cube into a relational table, basically create a fact table out of the cube, where I'd have the dimension's natural keys and the measure values.
I tried using the Microsoft OLE DB Provider for Analysis Services 9.0 to connect to the cube, and using the SQL Command option I was able to query the dimension tables (select * from [$Date].[$Date]) and push the data into a relational table. However for the cube data, I was only able to query the measure group and the cube dimension values separately. Apparently the 'tables' in which the measure group data and the cube dimension data is different, and I'm not able to find a relationship between them. Also for the cube dimension data I see one table for each cube-dimension combination. Am I taking the right approach?
I also tried using Linked Server to my OLAP database, and then use MDX to get data, but the problem remained that I wasnt able to write a MDX that would just give me rows of data with all the dimension keys and measures flattened out in a table.
Is there any other approach to get data from the cubes into a relational table?
Thanks