T
Tom Cunningham
I hope someone can help me with this, it's driving me crazy.
I have four queries, each containing students scores which are grouped by week using the DatePart function. I would like to create a query to total scores from each query by week. Basicall, IF Week = 10 SUM QueryA, QueryB, QueryC, QueryD.
Here is the actual expression I have put together thus far: Week_Ten: If([Qry_WeekTotal_TimeTableA]![Week]=10),Sum[Qry_WeekTotal_TimeTableA]![WeekTotal_A],[Qry_WeekTotal_TimeTableB]![WeekTotal_B],[Qry_WeekTotal_TimeTableC]![WeekTotal_C],[Qry_WeekTotal_TimeTableD]![WeekTotal_D])null)
I would like to use the SUMIF function rather than the WHERE = 10 in the criteria because would like to create several colums of totals for each week. Using the WHERE will not let me total multiple weeks.
Thank you in advance for your assistance.
Tom
I have four queries, each containing students scores which are grouped by week using the DatePart function. I would like to create a query to total scores from each query by week. Basicall, IF Week = 10 SUM QueryA, QueryB, QueryC, QueryD.
Here is the actual expression I have put together thus far: Week_Ten: If([Qry_WeekTotal_TimeTableA]![Week]=10),Sum[Qry_WeekTotal_TimeTableA]![WeekTotal_A],[Qry_WeekTotal_TimeTableB]![WeekTotal_B],[Qry_WeekTotal_TimeTableC]![WeekTotal_C],[Qry_WeekTotal_TimeTableD]![WeekTotal_D])null)
I would like to use the SUMIF function rather than the WHERE = 10 in the criteria because would like to create several colums of totals for each week. Using the WHERE will not let me total multiple weeks.
Thank you in advance for your assistance.
Tom