In you column heading filed in your cross tab query use the following syntax
Alias:IIF([Field]= True,"A","B")
Break it down further:
Code:IIF([Field] = True, "A", IIf([Field] = False, "B", [Field]))
Glad we could help!
Are you adding them as a column to the right? And are the numbers 1 to 31 static?
I was thinking the OP wants to sum per month, i.e. row by row. If that's the case then you need to do this:
[1] + [2] + [3] + ... + [31]
Add them all up up to 31.
That looks like a crosstab query. If it is then you would need to create a new query and select all the fields from the crosstab query into it. You will then be able to perform the addition.
AliasName: (Select Sum(IIF([Field] = True, 1, IIf([Field] = False, 0.5, Null))) From NameOfTable AS Q WHERE Q.Mont = [Mont])
See if this gets you the results in your crosstab query.
Here's the alias field:
Code:AliasName: (Select Sum(IIF([Field] = True, 1, IIf([Field] = False, 0.5, Null))) From NameOfTable AS Q WHERE Q.Mont = [Mont])
Under TOTAL (i.e. instead of GROUP BY) for that field select FIRST.