Hi All,
I'm new to SSAS and I would really appreciate your help in the following matter:
I'm trying to make a query against the TFS cubes. The query should retrieve all items according to their Change_Category and for each category it should have 4 columns. The first column should contain the number of items that have the measure [State Change Count] equal to 1. The second column should contain the number of items whose measure [State Change Count] is equal to 2 ... and so on.
The final table should look something like this:
----------------------------------------------------------------------------------------------------------------------------------------------
Category Items with 1 state change Items with 2 state changes .......
----------------------------------------------------------------------------------------------------------------------------------------------
Application Support150 420
Infrastructure30 170
Normal190 83
----------------------------------------------------------------------------------------------------------------------------------------------
The basic query I'm starting with is the following:
SELECT
NON EMPTY
{
[Measures].[Work Item Count]
} ON COLUMNS
,
(
{
[Work Item].[CR_Change_Category].&[Application Support]
,[Work Item].[CR_Change_Category].&[Infrastructure]
,[Work Item].[CR_Change_Category].&[Normal]
}
) ON ROWS
FROM [Work Item]
Any help is really appreciated.