ssrs table on and off based on parameter selection - reporting-services

I need help with an SSRS report that has one parameter 'Region' and they want to see the summary for each sales representative and detail .so in each region, there is a list of sales representative names that work under each region, so if I select one region lets say west that region can have 7 sales representative and I want to see the two tables that show the summary and the detail on top of each other and if I change to another region east that can have 20 Sales Rep and want to see same information as well and I want this to be displayed in one page, is there any possibility that the tables can be dynamically change based on the parameter selection,

Related

Row Visibility in SSRS Report

I am new to SSRS report, I am having data as below
I need to display the data as below format
Please give me some details how to group the columns, and conditional display of rows in the tablix grid. I have tried but row visibility condition not working and I am getting US region also for Samuel employee with Asia region data
Thanks
Actually, you do NOT want to use Row Visibility. You just need to show the data, if there's no data for a region, it will not appear.
Add a List and Group By Manager and Dept. This will Group your data by manager.
Add a Column. Add 2 Rows Inside Group. Make 1 for the Manager and the other for the Dept. Make the 3rd row big enough for the Employee/Region data.
Add a Table and group by Region. Add your fields. Put the table in the List box. Since the table is inside the list, the list will show the records for the manager in the list.
Here's what it should look like when the list is selected:
And here's what the inner table would look like:

SSRS sum of values attached to a group

I have a report that has a group. Lets say the report is grouped by state. And within each state, there are cities.
Attached to each state is some statistic I want to sum up. Lets say it is total number of public schools. This information only exists at the state level and does not exist at the individual city level.
Within each state group, I have detail rows that show bunch of information about each city. That detail isn't relevant for this question so I will skip over that.
Now, here is my question. On this report, I need to show bunch of totals. One of the totals I need to show is total number of public schools.
If I just do a regular SUM, it multiplies out the number attached to each state by the number of cities in each state. What I need to do is take a SUM of public schools and count each state just once.
I hope you understood my question.

SSRS reports display data in different sections of report based on conditions

Hi for my ssrs Report I require to have three different sections on my report.
And I would like to split the data in the report based on some conditions.
For example
Report will contain three sections:
Section A- to display attendee
Section b - to display staff
Section c - to display guest speakers
In my data I have a list of event attendees with the names and definition if they are speaker or attendee or staff under one column.
How could I in ssrs use conditions to display where the names will be displayed. So that they get displayed in the right section. So that attendees get displayed in section a , staff get displayed under section b and so on and so on.
Thanks
Create 3 tablixes, one for each section you want to display. Use the same dataset for all three tablixes. In the tablix properties, add a filter to only show the matches for that tablix.
One positive of this approach is that SSRS will only retrieve the dataset once, and will re-use the same data cache for all the tablixes.

How to choose between a Report (Subreports) Or Other Solution SSRS

I am preparing a building management system currently working on a report. This report will include information of Apartment around 25-30 fields and then for each apartment rooms information will be displayed. Each room will have around 20 fields.
We can restrict this report to one apartment at a time. So let say we will have a Apartment which will total of 5 rooms. I don't know how to implement prepare this report so user will be able to print this easily and data will be easy to understand.
One of my friend said to me that prepare a report for apartment and then add a subreport for rooms. But how i can show around 25 fields of apartment and then 20 fields of room.
Is subreport a good solution to this scenario? If no please suggest other possible solution.
How to manage fields and still make it a easy to understand and printable solution.
Thanks in Advance.
I would say this is a good candidate for having 2 Data Sources & 2 Tablix regions (Or 1 tablix region, and textboxes in a header).
First Data Source has only the apartment fields, and should be a single record. Second Data Source has the room fields for that specific apartment.
Have a tablix at the top displaying the apartment information. Seeing as you are only viewing one apartment at a time, there should only be a single record. (Maybe display this information using textboxes in a header so as to repeat it on each page.)
Have a second tablix below the first (or in the body of the report) with relevant room information.

Can't get rid of duplicates in an Access sub report

I'm having an issue with a report containing a subreport in Access 2007. Let me preface this by saying that I didn't create this database, it was already in place and I've just kinda been put in the position of taking it over, and I don't know too much about access.
Basically I need my report to pull my customer history and payment history, group them based on the phone number, display all history below, and finally being sorted by received date.
What is happening though is I'm getting duplicates of all payment info.
Here's currently what is being output:
555-1212
john smith
123 whatever dr
hometown, usa 90210
sold date received date amount agentname
1/1/2013 1/4/2013 50 jack
6/1/2012 6/6/2012 25 jim
sold date received date amount agentname
1/1/2013 1/4/2013 50 jack
6/1/2012 6/6/2012 25 jim
So as you can see, it is grouping the sales correctly on the phone number, as shown by the phone number, name, and address only being displayed once. However for each instance that the subreport pulls, it shows all the info again. I need only one set of sale information to display per customer.
I have two tables, two queries, and two reports doing all of this.
One table contains customer information, the other contains sale information.
The queries simply pull the needed info.
My main report has the phone number, name, and address inside the header section. This is set to group on phone number, and to keep the group together on one page.
My subreport contains all the sale info inside the detail section. This is set to sort by received date.
I've tried a ton of combinations of grouping, sorting, and moving the subreport in and out of the header and detail sections but to no avail. One way or another there's always duplicates and I can't figure out how to sort the whole shebang by received date when all is said and done. Any help would be greatly appreciated!
Create a phone number group section and move the top line with phone number, name, and address AND the sales information subreport inside this new group header. Then, minimize the detail section.
From your example, John Smith has two sales info records. Therefore, the sub report placed in the detail section will repeat twice for its two appearances in the main report. Recall any item in detail section will repeat for the number in the recordsource. Yet positioning items in a distinct group section will remove the duplication.