Here is one case: Completed Late is not showing in the output
select 'dbr.html', '<div class="dashboard">';
select 'dbr.template', '#BI_Chart_Title';
select 'HPR Trend' as 'bi_title_header1';
select 'dbr.html', '</div>';
select 'dbr.chart', 'MSColumnLineDY', '', 1200, 500;
select 'dbr.chart.options', 'series', 'Scheduled', 'Completed on Time', 'Completed Late', 'Overdue', 'Net Open';
select 'dbr.chart.options', 'label_color', 'Scheduled', 'Ox95B3D7';
select 'dbr.chart.options', 'label_color', 'Completed on Time', '0xC4D79B';
select 'dbr.chart.options', 'label_color', 'Completed Late', '0x2ECC71';
select 'dbr.chart.options', 'label_color', 'Overdue', '0xF1C40F';
select 'dbr.chart.options', 'label_color', 'Net Open', '0xDA9694';
select 'dbr.chart.options', 'axis', 'Business Date', 'Number of Tasks', 'Net Open Tasks';
select 'dbr.chart.options', 'rotateNames', 45;
select '01-10-2020' as 'busdate', 'Scheduled' as 'statusKPIs', 3 as 'No. of Tasks'
union all
select '01-10-2020', 'Completed on Time', 3
union all
select '02-10-2020', 'Scheduled', 3
union all
select '02-10-2020', 'Completed on Time', 3
union all
select '03-10-2020', 'Scheduled', 3
union all
select '03-10-2020', 'Completed on Time', 3
union all
select '04-10-2020', 'Scheduled', 3
union all
select '04-10-2020', 'Completed on Time', 3
union all
select '05-10-2020', 'Scheduled', 3
union all
select '05-10-2020', 'Completed on Time', 3
union all
select '06-10-2020', 'Scheduled', 3
union all
select '06-10-2020', 'Completed on Time', 3
union all
select '07-10-2020', 'Scheduled', 3
union all
select '07-10-2020', 'Completed on Time', 3
union all
select '08-10-2020', 'Scheduled', 3
union all
select '08-10-2020', 'Completed on Time', 3
union all
select '09-10-2020', 'Scheduled', 3
union all
select '09-10-2020', 'Completed on Time', 3
union all
select '10-10-2020', 'Scheduled', 3
union all
select '10-10-2020', 'Completed on Time', 3
union all
select '11-10-2020', 'Scheduled', 3
union all
select '11-10-2020', 'Completed on Time', 3
union all
select '12-10-2020', 'Scheduled', 3
union all
select '12-10-2020', 'Completed on Time', 3
union all
select '13-10-2020', 'Scheduled', 3
union all
select '13-10-2020', 'Completed on Time', 3
union all
select '14-10-2020', 'Scheduled', 3
union all
select '14-10-2020', 'Completed on Time', 3
union all
select '15-10-2020', 'Scheduled', 3
union all
select '15-10-2020', 'Completed on Time', 3
union all
select '16-10-2020', 'Scheduled', 3
union all
select '16-10-2020', 'Completed on Time', 3
union all
select '17-10-2020', 'Scheduled', 3
union all
select '17-10-2020', 'Completed on Time', 3
union all
select '18-10-2020', 'Scheduled', 3
union all
select '18-10-2020', 'Completed on Time', 3
union all
select '19-10-2020', 'Scheduled', 3
union all
select '19-10-2020', 'Completed on Time', 3
union all
select '20-10-2020', 'Scheduled', 3
union all
select '20-10-2020', 'Completed on Time', 3
union all
select '21-10-2020', 'Scheduled', 3
union all
select '21-10-2020', 'Completed on Time', 3
union all
select '22-10-2020', 'Scheduled', 3
union all
select '22-10-2020', 'Completed on Time', 3
union all
select '23-10-2020', 'Scheduled', 3
union all
select '23-10-2020', 'Completed on Time', 3
union all
select '24-10-2020', 'Scheduled', 3
union all
---
select '24-10-2020', 'Completed Late', 1
---
union all
select '24-10-2020', 'Completed on Time', 2
union all
select '25-10-2020', 'Scheduled', 3
union all
select '25-10-2020', 'Completed on Time', 3
union all
select '26-10-2020', 'Scheduled', 3
union all
select '26-10-2020', 'Completed on Time', 3
union all
select '27-10-2020', 'Scheduled', 3
union all
select '27-10-2020', 'Completed on Time', 3
union all
select '28-10-2020', 'Scheduled', 3
union all
select '28-10-2020', 'Completed on Time', 3
union all
select '29-10-2020', 'Scheduled', 3
union all
select '29-10-2020', 'Completed on Time', 3
union all
select '30-10-2020', 'Scheduled', 3
union all
select '30-10-2020', 'Completed on Time', 3
union all
select '31-10-2020', 'Scheduled', 3
union all
select '31-10-2020', 'Completed on Time', 3;