The examples build on each other: the first three result in a design with the conversations per skill, the others extend it.
Conversations as a list
- Under Reporting module › Report design, click Add. Close the Report Repository with Cancel and choose New Report › Conversation Report in the ribbon.
- Choose Page › Size A4 and Page › Orientation landscape. Select the report and, under Properties, set Measure Units to Tenths of a Millimeter.
- Right-click the design surface › Insert Band › PageHeader.
- In the Field List, select the fields
ConversationStartTime,SkillName,TotalWaitDurationandTotalConnectDurationwith Ctrl and drag them with the right mouse button into the page header: a table with the field names is created. - Drag the same fields with the left mouse button into Detail: a table with the values.
- Double-click the headings to change them to “Start”, “Skill”, “Wait time” and “Talk time”. Leave the values without a format string — myContactCenter shows the start as a date with time and the times as durations.
- Click Preview, choose the period and skills in the Parameters pane and click Submit.
- Switch to Designer, give the design a name with Rename and save it.
Adding a column to a template
Example: the average wait time in the “Conversation by Skill” template.
- Open the design; if the template is not yet in the database, adopt it from the Report Repository via Add — see Report designs.
- Make room: select the controls on the right in “PageHeader” and “GroupHeader1” with Ctrl+click and move them closer together.
- Copy a heading by dragging it with Ctrl, then double-click the copy and type “Avg. wait time”.
- Drag
TotalWaitDurationfrom the Field List into “GroupHeader1” — the template shows one row per skill in the group header. - Smart tag › Summary: Summary Running Group, Summary Func Average. Do not set a format string.
- For the overall value, copy the control into “ReportFooter” and set Summary Running to Report there.
- Check the result in the Preview and save.
Grouping by skill
- In the design from the first example, open the Group and Sort window; if it is hidden, via View › View › Windows.
- Add a Group ›
SkillName. “GroupHeader1” is created above “Detail”. - Check Show Footer in the row; “GroupFooter1” is created.
- Drag
SkillNameinto the group header and emphasize it with Home › Bold. - Remove the “Skill” column from the detail table — select a table cell, then Table Tools › Delete › Column.
Sum, count and percentage per group
In the group footer from the previous example:
- Drag
IsConnectedinto it. Smart tag › Summary: Group, Sum — the connected conversations. - Drag
guidinto it: Group, Count (Distinct) — all conversations. - For the percentage, drag a third field into it, set the summary to
Group and replace the expression with
sumSum([IsConnected]) / sumDCount([guid]). As the format string, use{0:0.0 %}. - For the overall values, insert a ReportFooter, copy the three controls into it and set Summary Running to Report for each of them.
- Add the headings in the page header.
Grouping by time interval
- Add a Group ›
GroupTime, instead ofSkillNameor below it. - Drag
GroupTimeinto the new group header and give it a format string, for example{0:dd.MM.yyyy HH:mm}. - Add the totals as in the previous example.
- In the Preview, choose the division: Time group base Hour with Time group count 1 results in one row per hour, Minute with 15 in one row per quarter hour.
Inserting a chart
Connected and abandoned conversations per skill:
- Insert a ReportFooter if there is none yet.
- Drag Chart from the toolbox into it and drag it out to a large size. The Chart Designer opens.
- Add a bar series. On the data page, drag
SkillNameonto Argument andIsConnectedonto Value; set the Summary Function of the series to the sum. - Add a second bar series with
IsAbandonedand give both series names; the legend shows them. - Close the Chart Designer and accept the changes.
- Check the chart in the Preview.
If the chart lies in a group header, it only shows the group. With GroupTime
as the argument, the axis follows the Time group base.
Highlighting abandoned conversations
- Select a cell of the detail table and then Table Tools › Select › Row.
- Under Properties, click the “f” next to Background Color.
- Enter
Iif([IsAbandoned] = 1, Rgb(255, 199, 206), ?)and confirm. - Check the result in the Preview: abandoned conversations have a pink background.
More examples are in Colors by condition.
Header with the period
- Click Home › Data › Add Calculated Field.
- Select the new field in the Field List and, under Properties, enter
_HeaderExpressionNameat Name. myContactCenter sets the Expression itself when the report runs. - Drag the field into the ReportHeader or into the top margin, make it wide, enlarge the font and center the text.
- In the Preview, it shows “Report contains data from … to …” with the chosen period in local time.
Page number and creation time
- Insert a PageFooter.
- Drag Page Info into it on the right; under Properties:
Page Information "Current of Total" Page Numbers,
Text Format String
Page {0} of {1}. - Drag a second Page Info into it on the left:
Current Date and Time, Text Format String
Created on {0:dd.MM.yyyy HH:mm}. - Check the result in the Preview.