Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083946
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:22:39+00:00 2026-05-20T18:22:39+00:00

I am trying to use Reporting Services to create a report displaying the call

  • 0

I am trying to use Reporting Services to create a report displaying the call activity of various sales reps. The report will group by extension and then date of call. For each group of call dates (that is, all the calls for a particular date), I want to display some totals. One of the totals I want to display is the total number of calls whose duration greater than 2 minutes. I can see how to use the RunningValue function to keep a running total of ALL calls for the date, but I’m not sure how to make that conditional on the length of call. Any ideas?

UPDATE: The checked answer below did it… I used a case statement in linq like this:

            var qry = from Q in c.CallList
                  select new
                  {
                      Q.Extension,
                      Q.CallDate,
                      Q.Duration
                      CallCountOverTwoMinutes = Q.duration > 120 ? 1 : 0,                          
                  };

Then I sum the value of CallCountOverTwoMinutes. Thanks for the help, Chris!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:22:40+00:00Added an answer on May 20, 2026 at 6:22 pm

    The easiest way would be to pass the value as part of the dataset. For example, using SQL:

    SELECT Extension, CallDate, Duration, 
        CASE WHEN Duration > 2 THEN 1 END AS CallsOver2Mins
    FROM CallTable
    

    Then just sum on CallsOver2Mins.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use WCF Services as models for SQL Server Reporting Services
I'm trying to create a CI process for SQL Server Reporting Services. I am
Using SQL Server 2008 Reporting services: I'm trying to write a report that displays
I have a report in SQL Server Reporting Services 2005. It makes use of
I am trying to migrate a report from Excel to Reporting Services. The content
I am trying to use the Sharp-shooter Silverlight report viewer control. This control has
Can I use expressions in Sql Server Reporting services to combine all of the
I'm trying to enumerate, in c#, the reports for a user on reporting services.
I'm trying to use MSDN Reports Services 2005, but I'm realising that I broke
I couldn't get this expression working with reporting services. I have to use IF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.