compute series in datawarehouse