I want to create a crosstab report showing what programs/courses students are likely to take next.
Here is the crosstab I would like to create:
Program_2 Name
Program_1 Name Metric: Count of Programs Completed
Program_A2 Program_B2 Program_C2
------------------------------------------------------------
Program_A1 --- 1000 2000
Program_B1 500 --- 1000
Program_C1 1000 3000 ---
Program_n1 is the program taken prior to Program_n2.
I have a star/snowflake hybrid model. There is a time dimension for the date the program was completed, Student dim, Program dim, and Programs_Completed_indicator in the Program_fact table.
Any ideas how to create this report?
I think I will need an additional view in the model, perhaps with a ranking of Program and Student over time.
Then define an attribute for each possible rank, using something like
Another Attribute:
And so on.
This seems an ugly way to do it, and will limit the scope of the analysis. Is there a better way??
All help will be appreciated!
Dave
Here is the crosstab I would like to create:
Program_2 Name
Program_1 Name Metric: Count of Programs Completed
Program_A2 Program_B2 Program_C2
------------------------------------------------------------
Program_A1 --- 1000 2000
Program_B1 500 --- 1000
Program_C1 1000 3000 ---
Program_n1 is the program taken prior to Program_n2.
I have a star/snowflake hybrid model. There is a time dimension for the date the program was completed, Student dim, Program dim, and Programs_Completed_indicator in the Program_fact table.
Any ideas how to create this report?
I think I will need an additional view in the model, perhaps with a ranking of Program and Student over time.
Then define an attribute for each possible rank, using something like
Code:
ApplySimple("CASE WHEN #0 = 1 THEN #1 ELSE NULL end", [Program_Sequence_Rank], [Program_1])
Code:
ApplySimple("CASE WHEN #0 = 2 THEN #1 ELSE NULL end", [Program_Sequence_Rank], [Program_1])
This seems an ugly way to do it, and will limit the scope of the analysis. Is there a better way??
All help will be appreciated!
Dave