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 8792613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:00:15+00:00 2026-06-13T23:00:15+00:00

I have to get distinct rows sum in SSRS expression. **StudentId TestScoreMath CurriculumEnrolled EnrollStatus**

  • 0

I have to get distinct rows sum in SSRS expression.

**StudentId  TestScoreMath   CurriculumEnrolled      EnrollStatus**

  100              200            Nursing             Enrolled

  100              200            Physical              Enrolled

  200              100             Tech                Enrolled

Total Student TestScoreMath should be 300 not 400. I tried using the expression

=Sum(Fields!TestScoreMath .Value, "table1_Group3")

How can I SUM the value of TestScore of distinct students? I need this only in SSRS.

  • 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-06-13T23:00:17+00:00Added an answer on June 13, 2026 at 11:00 pm

    In SSRS 2005, this is not too easy. I would add embedded code to keep a running total. You can have the custom code to check to see if the current student ID matches the last. If so, then don’t add another test score to the total. Or you could group by Student ID and call your custom code only in the header or footer of that group.

    This sample shows totaling all rows: you’ll need to add to this to track the studentID.

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

Sidebar

Related Questions

I have a 3 tables that I'm trying to join and get distinct results.
I have a statement that SELECTs distinct rows from a table with a two
I have the following query in codeigniter The idea is to only get distinct
I have a requirement to extract a distinct subset of rows from a DataTable,
I have simple question regarding SQLAlchemy, is it possible to get the rows from
I have 3 tables that join with together and i want select distinct rows
So I have a class that has the following member variables. I have get
Suppose I was given a URL. It might already have GET parameters (e.g. http://example.com/search?q=question
<div id=container1> <span>...</span> </div> <div id=container2> <span>...</span> </div> Say if I have get the
I have to get the sub total of time spent in SQL any ideas?

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.