I have a report grouped by a formula which sorts the data:
Problem is, if a group is not represented, the group does not appear in the summary. I need to show all groups, even if a value is zero. Any ideas much appreciated.
If IsNull {fieldname} Then 0
Else If {fieldname}="Group Q" Then 1
Else If {fieldname}= "Group Y" Then 2
Else If {fieldname}= "Group A" Then 3
Else If {fieldname}="Group G" Then 4
Else If {fieldname}="Group C" Then 5
Else If {fieldname}="Group X" Then 6
Else 7
TIA
Problem is, if a group is not represented, the group does not appear in the summary. I need to show all groups, even if a value is zero. Any ideas much appreciated.
If IsNull {fieldname} Then 0
Else If {fieldname}="Group Q" Then 1
Else If {fieldname}= "Group Y" Then 2
Else If {fieldname}= "Group A" Then 3
Else If {fieldname}="Group G" Then 4
Else If {fieldname}="Group C" Then 5
Else If {fieldname}="Group X" Then 6
Else 7
TIA