Consolidating data with a virtual cube