Grouping does not create in master details rdlc report formatting - reporting-services

I want to create a rdlc report using Microsoft Report Designer. Due to complexity of my data (the given below is just an example) I do not use View on Database side. So, I have to use seperate tables (data sources) for my report design. Now, as it can be seen the example below I have one report page and I want to show PERSONAL, FAMILY and JOB INFO for each person.
There are Textboxes on PERSONAL INFO section. The data is come from table_Personal,
There are a Table on FAMILY INFO section. The data is come from Table_Famiy,
There are a Table on JOB INFO section. The data is come from Table_Job
and all the three tables contain Person_Id column.
PERSONAL INFO
Name : Christof
Surname : Robin
Age : 45
FAMILY INFO
No----- Name----- Age----- Birt Place
1------ Sarah----- 12------ London
2------ Albert----- 16------ Manchester
3------ David----- 23------ NY
JOB INFO
No------ Company----- Start Year
1------- Xyz----------- 2005
2------- T Mobile------- 1999
3------- Day Inn------- 1993
My question is;
1) I do not want to use Subreport and do not combine these tables in db side by using view (I have searchhed, but for 3 or more tables it is impossible I think).
So, is it possible to create a master-detail report like above by grouping items (table, list, etc.) and without using subreport on rdlc? If so, could you explain a little bit please?
2) I have tried to create such a kind of report like that; I use a List and inserted all the textboxes and three tables above
to this list. I assign all the three tables as Report Data Sources. I make List.DataSetName = Table_Personal and List.Grouping settings
select Group on : Person_Id and some other combination. But, unfortunately I have not managed to create such a kind of report group like above.
Could you help me please by giving some advice and if you have some sample rdlc page source please? ...Shohel

Yes it is possible but I'd done it like 6 months ago, so I don't have any sample code right now.
I have done a lot of similar cases. One such case is there are a list of students and each student has a list of marks, a list of achievements, etc.
If I remember correctly I used one storedprocedure to get all the details of all the students. One dataset. And put 'em all in one tablix and grouped 'em.
The sub-lists (like the list of marks) are separate tablixes themselves and are inserted in textboxes of the main tablix.
Hope it helps! :)

Related

Report builder 3.0 Using Reportitems!TexboxXX.Value sometimes creates multiple boxes. Why?

I have 6 Datasets each one is the same query but has a different WHERE clause based on employee type. They generate 6 tables. At the top of the report there is a summary table which uses reportitems!textboxXX.value to grab the totals for 2 particular fields from all the tables. I'm also using a StartDate and EndDate parameter. Each reportitems! expression in the table comes from a different dataset in the report if that is relevant.
When I run the report using dates from yesterday back to the 9th of May I get the desired output.
But when I go to the 8th I get multiple rows all the same.
and as I go even further back I get even more rows of the same information. To my knowledge nothing interesting or different happened on the 8th of May and the tables further down the report look exactly the same. Any idea what might be causing this? The design view looks like this if that helps. There's no grouping or filters on the table.
Still not certain about the mechanics behind this but I found a 'solution' so I figured I'd post it. I just made a new dataset for my summary tables where the query was simply SELECT 1. Now I get a single row every time.

How to split a table in a report MS Access

How do I split a table into two tables? For example, I have a form of classes (in school) and semi form of students that study in the same class (just first and last name), and made a report for this form that above there are the details of the class and below there is a table of all the students with their name and last name. I wanted to ask how do I split the table to not continue page number 2
if I have alot of students so when the table reach the end of the page it will continue on the other side of the page (small table)?
I don't think you actually want to split the tables if you are designing a report. What you want to do is adjust the report so that the field for Class the students are studying is in a group header. In design mode, click "add a group" and then select the Class field. Then below that is where you will want to put the first and last names in the detail part.
You can also adjust where the pages split and you will need to play around with the design view options to get exactly what you want.
Ultimately, I think you want your report to look something like this:
Geometry
Josetta
Scott
John
Mark
English
Scott
Josetta
History
John
Mark

Need to write SSRS report that uses stored procedure with a pivot as a dataset but I can't get the report to be dynamic, is this even possible?

I have a bear of a problem here. The user wants a report that shows the earnings, deductions and liabilities (EDL) code of each employee or null/blank if an EDL code doesn't apply to that employee. I needed one row for each employee name and columns for each possible EDL code combination. I got that answer fixed from my previous question here:
Struggling with a dynamic pivot on multiple columns with one being concatenated
I ran into a problem where there are a potential 270 column headings (EDL code combination with "subj", "elig" or "amt" appended) but not every employee will have a value for every column and security settings lock me out of seeing 1 of the 3 payroll groups. This made my report very limited in that when I ran it I could only show on the Crystal Report the data for what columns I had at the time I created the Crystal Report. Well, the user who requested this report has access to payroll group 1 and if even one of those employees had an EDL code that I didn't have in my data when I created the Crystal Reports file then the report wasn't useful to the user. We figured a way for her to get the info she needed by her logging into SQL Server and executing the stored procedure and she did what she needed to do with the data.
Fast forwarding to today I have to create this as a report in SSRS or give detailed instructions on how she can do this in the future if need be since my contract is coming to an end. I'm not familiar with SSRS but I thought maybe that would meet her needs over Crystal Reports. However, I'm running into the same problem. When I add the stored procedure as a dataset (adding it in as text to execute, not clicking the stored procedure radio button) I only see the EDL codes from that particular query not all potential combinations. I need a way to maybe dynamically add columns to the SSRS report, does such a thing exist?

How to repeat multiple tables in report For multiple values?

I have one report in which I have table like below,
Now as for change I need to add the second table for each customer and the new report should look like as below,
So basically, I want to repeat two tables for each customer there will be multiple customers or single customer. I tried following this answer but with no luck. (The table should always visible so can not go with the drill down report.)
Any help would be great. My reporting server is 2008 r2.In case of the problem or confusion feel free to comment.
Similar to Jacob's answer, but make a subreport that handles all the tables and datasets for one single customer.
Then use a list object that is populated by a dataset of all the customers you want to display, and put the subreport in the list object, passing the customerId to the subreport.
You need to place it(the table) in a list object. And configure the grouping of the list and filtering of your table.

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.