Hi All,Using SRS 2005 Expressions I am trying to Aggregate or Group 3 Different row Values to Display 1 row Value and total $ of 3 rows below X10, X21, X23. Dataset SelectSADIVO AS Division, SAWHSL AS Location,SUM (SSAJUN) as ActualSales,SUM (SCAJUN)as ActualCosts,FROM DATA.SASALESWHERE (SADIVO IN ('029', '022', '021')) AND (SAWHSL IN ('X10','X21','X23','B20','C30','D40')) GROUP BY SADIVO, SAWHSL, SADIVS
my expression:=IIF((Fields!Location.Value="A")=0 AND (Fields!Location.Value="X23" Or Fields!Location.Value="X10" OR Fields!Location.Value="X21"),"A", iif(fields!Location.value = "D40", "D", iif(fields!Location.value = "B20", "B",iif(fields!Location.value = "C30", "C",fields!Location.value))))
I wish to group all "A" into one "A" and total Sales how can I achieve this have tried several different combinations No Go!appreciate any help thanks Regards Peter