I am working on a one-band raster with pixel values from 1 to 7, each representing a land-use class. I also have a grid of polygons and what I need is to obtain the percentage of each class in each cel of the grid. I already used the Zonal Statistics tool and with rasters representing only one variable each it adds three columns to the attribute table of the grid: count of values, sum and average. If I do the same with the land-use raster, I only obtain the same count, sum and average values but only for the overall pixels with no distinction for the classes.
I hope is clear enough.