EzeScan WebApps

Data Panel Dashboard (DPD)

What is DPD?

EzeScan’s Data Panel Dashboard (DPD) is a powerful component of the EzeScan WebApp suite, purpose-built to create dashboard(s) that show pertinent information about EWA RIA workflows (such as invoice processing, document processing).

DPD allows information to be displayed in data panels (hence its name).

Data Panels

Single Value

Single value data panels are designed to display a single value to users.

image-20230228-004517.png

Example SQL Query

select count(*) from [driverDB].[dbo].[Drivers]

Data Table

Data table data panels are designed to display a table of data to users.

image-20230228-005454.png

Example SQL Query

SELECT TOP (25) 
    [Drivers].[Name] AS 'DriverName',
    [Drivers].[State],
    [Drivers].[Organisation],
    [FastestResult].[Car],
    [FastestResult].[TotalTime] as time(2)) as nvarchar) AS 'TotalTime',
    (Select count(*) from results where Driver = FastestResult.Driver) as #,
    [FastestResult].[DateTime] AS 'RaceTime'
FROM DriversFastestTimes as FastestResult
INNER JOIN [rimpa].[dbo].[Drivers] ON Drivers.ID = FastestResult.Driver
ORDER BY TotalTime

Spacer

A spacer data panel is an invisible element that consumes space that can be used to help position other data panels.

Chart

A chart data panel is designed to display a table of data in a selected chart type.

image-20230228-010237.png

Chart Types

You can select the way the chart will display. The current options are Bar chart, Line chart and Pie chart

They may need specific values in specific orders to correctly render.

Bar

Below is an example of the SQL query and how that will render in a bar chart.

image-20230228-005714.png
SELECT Job, Hours
FROM sampleNumeric


Example SQL Output

Job

Hours

Design

5

Construction

12

Printing

6

Procurement

9

Procurement

4

Sales

2

Construction

6

Design

4

Procurement

9

Printing

12

Construction

2

Sales

2

Sales

3

Design

7

Construction

8

Sales

4

Sales

2

Design

4

Construction

8

Construction

8


Line

Below is an example of the SQL query and how that will render in a line chart.

image-20230228-005311.png
SELECT FORMAT([Date],'dd/MM/yyyy')  as Date, SUM(Hours) AS Hours
FROM sampleNumeric
GROUP BY Date
Example SQL Output

Job

Hours

07/01/2021

9

10/01/2021

5

12/01/2021

12

14/01/2021

6

01/02/2021

6

03/02/2021

6

05/02/2021

4

06/02/2021

23

07/02/2021

2

10/02/2021

10

12/02/2021

8

13/02/2021

4

14/02/2021

2

15/02/2021

4

16/02/2021

8

17/02/2021

8

Pie
image-20230228-005245.png
SELECT Job, SUM(Hours) AS Hours
FROM sampleNumeric
GROUP BY Job
Example SQL Output

Job

Hours

Construction

44

Design

20

Printing

18

Procurement

22

Sales

13

Multiple Series

Line and Bar charts can support displaying multiple series of data in the one chart.

image-20230417-130056.png
image-20230417-130136.png
SELECT Job, Team_A_Hours AS "Team A Hours", Team_B_Hours AS "Team B Hours"
FROM sampleNumeric
Example SQL Output

Job

Team A Hours

Team B Hours

Design

5

2

Construction

12

8

Printing

6

8

Procurement

4

3

Sales

2

2