Example of how to create a simple pivot table