You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Aggregate with multiple "If expressions" using Date_Group

edited Dec 27, 2017 4:54PM in Reporting & Analytics for B2C Service 3 comments

Content

Hello - I am trying to build a "productivity" report that will give me the Count of Incidents Closed, multiplied by the Average Time it should take to close a particular Incident, divided by the number of Hours Worked for each Week or Month.  I have the following expressions that need to be summed up;

if (incidents.cat_id = 38, (count(*)*(.25)),if (incidents.cat_id = 39, (count(*)*(.41)),if (incidents.cat_id = 40, (count(*)*(.50)),if (incidents.cat_id = 454,(count(*)*(.50)),if (incidents.cat_id = 43, (count(*)*(.33)),if (incidents.cat_id = 46, (count(*)*(.16)),if (incidents.cat_id = 453,(count(*)*(.50)),if (incidents.cat_id = 54, (count(*)*(.25)),if (incidents.cat_id = 58, (count(*)*(.66)),if (incidents.cat_id = 59, (count(*)*(.33)),if (incidents.cat_id = 60, (count(*)*(.16)),0)))))))))))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!