Create 3 data items in your query:
- VP = case when [SSM] in ('V'; 'Q'; 'C'; 'W') then [Sgn] end
- QP = case when [SSM] in ('Q'; 'C'; 'W') then [Sgn] end
- CP = case when [SSM] in ('C'; 'W') then [Sgn] end
Set both the detail and summary aggregation properties to Total and drag themm into your list, crosstab, graph,...
------------------------------
Daan Lambrechts
------------------------------