reporting services - SSRS - Chart - Remove gaps caused by data -
i need trying remove gaps bar chart.
dataset query:
select 'excused' type, '9120' total, '< 5' countrange union select 'unexcused' type, '11540' total, '< 5' countrange union select 'excused' type, '10990' total, '5 - 9' countrange union select 'unexcused' type, '2966' total, '5 - 9' countrange union select 'excused' type, '6513' total, '10 - 14' countrange union select 'unexcused' type, '1101' total, '10 - 14' countrange union select 'excused' type, '3277' total, '15 - 20' countrange union select 'unexcused' type, '537' total, '15 - 20' countrange union select 'excused' type, '2195' total, '> 20' countrange union select 'unexcused' type, '627' total, '> 20' countrange union select 'perfect attendance' type, '1401' total, ' ' countrange
datafield = total (not count(total) default)
series = type
category = countrange
if remove last union has 'perfect attendance' category grouping how want look. when introduce last union gives me blank colum on every category grouping. gives me 2 blanks on last grouping well.
ive tried multiple ways try filter out blanks happen because of last union, cant seem find right way this. ssrs not work easy havent stumbled upon yet, or used correct keywords when searching solution.
the outcome want see '< 5', '5 - 9', '10 -14', '15 - 20', , '> 20' have 'excused' , 'unexcused' bars, , ' ' have it's own bar 'perfect attendance' @ end. looks there's bar 'perfect attendance' on each grouping.
a stacked bar graph give sort of effect after, long appropriate needs:
Comments
Post a Comment