Build Pivot Tables from CSV/JSON Data