$ 0 0 If you want to use only SQL statements i.e No CE Function, below one works for me. SALES1: SALES2: Result in all 3 models ( graphical CV, Scripted CV with CE_FUNCTION, Scripted CV with SQL ) CheersAnindya