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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:51:41+00:00 2026-05-11T10:51:41+00:00

I want my report to display results from two select statements. Basicly, one select

  • 0

I want my report to display results from two select statements. Basicly, one select statement is active users, and the other is non-active users.

How do I structure the data tab of the report (I am using SSRS-2005)?

Thanks

Frank

  • 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. 2026-05-11T10:51:42+00:00Added an answer on May 11, 2026 at 10:51 am

    Two ways you could approach this:

    1. Have two queries in your ‘Data’ tab – one for active users and one for inactive users. Then on your report simply drop two tables and point one of them at the ‘active users’ DataSet and the other at the ‘inactive users’ DataSet.

    2. Have the one query which returns all users, active or not, along with a column for their ‘active’ status. Now drop two tables on your report and point them both at this single DataSet. Then, in the properties of each table, set up the filter so that one table only shows active users and the other shows inactive ones.

    I don’t I’d favour one of these approaches over the other, but I’d probably lean towards the second approach since it’s only one round trip to the database. The overhead of filtering during the report rendering might not make it worth it, though – you’d have to try it and see.

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

Sidebar

Related Questions

I'm trying to display all rows from one table and also SUM/AVG the results
I want to limit a report to return records from Date A through Date
I want to be able to email a report daily from a glpi database
I want to draw a line in Crystal report. I can do that from
I want to display a yearly report based on month, let say I have
I am creating a report orders by town. SELECT S.city, count(*) as NumOfOrders FROM
I want to create a report, using either Crystal reports or RDLC, doesn't really
I want to create a report which aggregates the number of activities per customer
I want to allow an Excel report to be viewed embedded in a WebPage...
I want to use the new report builder 2.0, rather than the old VS2005

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.