I have a table in SQL Server, and in this case I'm using two columns:
First is the month of a year,
second is the name of service which a customer has a complain about,
and what I want is to have a matrix which the X would be the name of months, and the Y axis would be the name of services, and A(i,j) would be sum of complains of service Y(j) in month of X(i).
I was planning to use pivot in a query to make that matrix. I was wondering if you could please help with this.
Thanks:)