I think you need to look at function called decode.This will
do matrix kind of report.