Crystal reports 日期没有数据,将在Crystal Reports中显示数据为零的日期

Crystal reports 日期没有数据,将在Crystal Reports中显示数据为零的日期,crystal-reports,crystal-reports-2008,crystal-reports-2010,crystal-reports-xi,Crystal Reports,Crystal Reports 2008,Crystal Reports 2010,Crystal Reports Xi,我的Crystal Reports上有这样一个输出: Example: Date(as group)| Hours | Counts ---------------------------------- 01-Feb-2018 | 20 | 5 03-Feb-2018 | 25 | 3 04-Feb-2018 | 22 | 3 05-Feb-2018 | 21 | 2 07-Feb-201

我的Crystal Reports上有这样一个输出:

Example: 
   Date(as group)| Hours | Counts
   ----------------------------------
   01-Feb-2018   |   20  |   5 
   03-Feb-2018   |   25  |   3 
   04-Feb-2018   |   22  |   3 
   05-Feb-2018   |   21  |   2 
   07-Feb-2018   |   28  |   1 
   10-Feb-2018   |   23  |   1 
如果您可以看到,由于没有数据/为空,因此缺少了一些天数,但我希望显示缺少的天数并将其值设置为零:

     Date        | Hours | Counts
   ----------------------------------
   01-Feb-2018   |   20  |   5 
   02-Feb-2018   |    0  |   0
   03-Feb-2018   |   25  |   3 
   04-Feb-2018   |   22  |   3 
   05-Feb-2018   |   21  |   2
   06-Feb-2018   |    0  |   0 
   07-Feb-2018   |   28  |   1 
   08-Feb-2018   |    0  |   0
   09-Feb-2018   |    0  |   0
   10-Feb-2018   |   23  |   1 

感谢您的高级指导。

我想您必须在Crystal Reports之外处理这些问题。您的数据源是什么?我正在使用SQL数据库和过程。