It depends on your table structure. I have oracle DB table but rather than having two columns in the table for actual and plan, I have one column and show version_id which will tell me if it is actual or plan. So your structure would look like this:
version rep month amount actual Joe Jan 100 plan Joe Jan 110 Joe Feb Sam Mar Jan Feb Mar
If you structure it like above, you will be able to use JS Pivot table.