Powerful [PHP Pivot Table] you found
KoolPivotTable support value mapping which you can map a value to another before that value is processed by pivot. This will ease your data pre-processing task without changing your original data.
KoolPivotTable is equiped with powerful tool called Code Generator which help you to create your first code easily. All you need to do is to copy, paste and modify. Sound awesome?