“Change On”中有两个值的条形图,跳过值为 0 的条形

Nin*_*rry 5 crystal-reports

我有一个基于以下 sql 语句的 Crystal Reports 条形图:

Select 'Max' as Name, '2018-05-02' as Day
union all select 'Max', '2018-05-02'
union all select 'Max', '2018-05-02'
union all select 'Fritz', '2018-05-02'
union all select 'Fritz', '2018-05-02'
union all select 'Fritz', '2018-05-03'
union all select 'Fritz', '2018-05-03'
union all select 'Fritz', '2018-05-03'
union all select 'Max', '2018-05-04'
Run Code Online (Sandbox Code Playgroud)

那就是我有三天的数据,每天,有些名字可能会出现多次。我现在想显示一个图表,我可以看到每天每个名字出现的频率。我尝试使用以下设置:

在此处输入图片说明

我得到的结果非常接近我想要实现的目标:

在此处输入图片说明

但是,问题在于图表为每天的所有两个名称保留了空间。当有两个以上的名字并且每天只出现几个名字时,这就会成为一个问题。

就像在这个例子中,有更多的名字,每个只出现在几天内:

Select 'Max' as Name, '2018-05-02' as Day
union all select 'Max', '2018-05-02'
union all select 'Max', '2018-05-02'
union all select 'Hans', '2018-05-02'
union all select 'Beate', '2018-05-02'
union all select 'Luise', '2018-05-02'
union all select 'Sandra', '2018-05-02'
union all select 'Fritz', '2018-05-02'
union all select 'Fritz', '2018-05-02'
union all select 'Fritz', '2018-05-03'
union all select 'Fritz', '2018-05-03'
union all select 'Fritz', '2018-05-03'
union all select 'Max', '2018-05-04'
union all select 'Rainer', '2018-05-04'
union all select 'Elvira', '2018-05-04'
union all select 'Silvia', '2018-05-04'
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

对于每一天,都会为出现在任何一天的每个名字保留空间。是否可以让 Crystal Reports 跳过这些列而只为值不是 0 的列保留空间?