flattened pivot table - Search