Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

SQL query to build the report

$
0
0

Hello Guys,

I want to develop some SSRS reports on Dynamics 365 On-premise.

Can you please help me out on queries to achieve the below outputs.

Table 1 :

HOD id

HOD Name

Section

1

 

A

Section1

2

B

Section2

 

Table 2:

Case ID

Case Number

Section

Created on

Modified On

Status Code

SLA name

First resolve date

Second resolve date

Customer name

101

123

Section1

01/09/2018

01/09/2018

In Progress

TestSLA

 

 

 

102

124

Section1

02/09/2018

05/09/2018

Resolved

TESTSLA

 

 

 

103

125

Section2

01/09/2018

01/09/2018

InProgress

TestSLA

 

 

 

 

 

Output 1:

 

Section

Enquiries issued to Section

% of total enquiries

Number of section wise enquiries resolved

%

Of issues resolved against assigned in each section

Section1

11

35%

10

96%

Section2

15

40%

9

67%

Section3

9

25%

6

66%

 

 

 

 

 

 

 

 

Output 2:

Overall performance;

 

Total Contacts

852

 

 

Number Resolved

675

85%

 

 

 

 

 

Number Unresolved

187

15%

 

 

 

 

 

% or resolved enquiries resolved same day

194

18%

 

                                       resolved within 5 days

638

59%

 

                                       resolved within 10 days

815

76%

 

                                       resolved over10 days

261

24%

 

 

 

 


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images