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

  • Home
  • SEARCH
  • 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 7488005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T14:42:46+00:00 2026-05-29T14:42:46+00:00

This is a difficult question to articulate, but I’ll give it my best: Basically

  • 0

This is a difficult question to articulate, but I’ll give it my best:

Basically my database has erroneous values and I want to write my SSRS to account for them rather than going in and cleaning up the DB.

For simplicity’s sake my records consist of 2 values: ownerid and case_type. Currently we have case_types that are lexicographically similar but conceptually identical. I want to create a report for records to account for these data inconsistencies. So…

I would ideally like to turn a simple call center report like this:

Owner | Email | Inbound Phone | Inbound Phone Call
bob   |  3    |     5         |     7
jon   |  1    |     2         |     3

Where for each owner responded to x number of emails, y number of ‘inbound phone’ and z number of ‘inbound phone calls’. (I didn’t create this data and am the one dealing with it now).

into:

Owner | Email | Inbound Phone Call
bob   |  3    |     12
jon   |  1    |     5

Essentially combining the count of ‘inbound phone’ and ‘inbound phone call’ records into a single column.

PS This data is coming from CRM 2011 and I need to use Fetch as the query. I have all the records I need, I just need to figure out how to parse the bad ones.

  • 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-29T14:42:47+00:00Added an answer on May 29, 2026 at 2:42 pm

    SSRS creates a new column whenever it thinks it is encountering a new group. The report you started with used a field for this. So SSRS thought every distinct value in the [Case_type] field was a new group, and needed a new column.

    So change the group properties (Right click on gray area above the column and select Column Group -> Group Properties… Edit the Group Expression to the formula below)

    The formula below should replace a the simple field. Before creating a new group, SSRS will run every [case_type] through this formula, and if it is “Inbound Phone” it will be replaced with “Inbound Phone Call.” SSRS will now see that this matches an existing group and will group these values in the same column.

    =Switch(
      Fields!Case_Type.Value = "Inbound Phone", "Inbound Phone Call",
      1 = 1, Fields!Case_Type.Value)
    

    Other replacements can be inserted into this to handle additional cases. If you need them combined by similarity, then things can get more complicated.

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

Sidebar

Related Questions

This is a difficult and open-ended question I know, but I thought I'd throw
This seems like a simple question, but it is difficult to search for. I
This is a difficult question to search in Google since it has other meaning
This is such a difficult question to explain online but I shall try my
Probably this is not a difficult question, but I am always a little bit
I know this is a simple question but difficult to formulate in one sentence
This shouldn't be a difficult question, but I'd just like someone to bounce it
This is probably an extremely difficult question to answer, but here is my question
I know this question is difficult to understand but I need a mathematical equation
I know this will be a difficult question, so I am not necessarily looking

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.