i want to generate a report with table values as column headers like a matrix form. how to do?

i want to generate a report with table values as column headers like a matrix form. how to do?