I am facing trouble displaying multiple result set in rows in matrix column grouping.
My Data set -
My desire result set -
My design -
I did row grouping combination of Code and Tax, column grouping on Exam.
Based on my design, I get this result -
Is there a way that I can get desired result?
I would appreciate if someone helps me.
I would love to solve this in the comment itself but i do not have enough reputation to comment. So based on the provided data in the question below is my answer.
In your data set add another column for the grouping the data.
Add DENSE_RANK() over (partition by exam order by item) AS Grouping
and then change your row grouping to the new column added [Grouping]