SSRS - Convert multiple rows into multiple columns - reporting-services

I have a fetchxml data set and design as per below in my ssrs.
My preview was like this.
What I want to achieve is, supposed to be like this.
Parentaccountid StatusH1 StatusH2
Parent Account A Final Draft
Parent Account B Draft Final
So, what I did is adding Row Parent group and group by Parentaccountid, but what I get is only first row for each Parent Account A and Parent Account B.

Related

Reporting services - different formatting for patrent group

I have a raport in SSRS with several row groups, like:
Is it possible to specify formatting for one of the groups (the main one)? To achieve effect like this (lines of the main group are bold):
Unfortunately, there's no easy way to do this.
The easiest way to do this would be to create a List object (which is just a table with a single cell).
Set the Dataset to the same as the current table.
Set the grouping to Group By the field in Column 1.
Add the borders to the cell.
Drop the current table into the new List.
The list will break up the data by the column 1 group and then the current table will display the data as it does now.
What I will do for this is I will make a child for sub report to handle the grouping where I will pass the parameters that will filter and display all of the data from a group.
then the parent class will be the one to calls it thru list and from there I can change the border style or size of list. in this way, the grouping will have a solid border per group

SSRS Report Builder - Display All Summarized Rows From One Table and Associated Data Rows

I am still learning the ropes of report builder and was curious what approach one would take to display a calculated parent table and all the child dependencies (rows) that went into the calculations for the parent row entry.
I already have triggers calculating values from multiple rows in one table that share a key value which is summarizing the mean/std dev etc from all these rows, thus placing the calculated results into a single row in the parent table.
I want to select multiple rows from the calculated (parent) table and show it in a report, then
show all the rows that went into the parents calculations. I can do this in sql because it is just a reverse lookup on the key value from both tables, but i am not sure how to dynamically do this in report builder. Any advice would be appreciated.
Here is a very simplified example of the child table that is used for the calculations
Child Data Rows
Here is a very simplified example of the summation parent table
Parent Calculations
This is similar to what I am looking to do in report builder
Parent To Child Report Example
Any advice on process/approach/what tool to use would be greatly appreciated.

SSRS - Merging cells of specific columns

I am developing a complex report in SSRS which should like below
Screenshot 1
output returned by stored proc have multiple rows of one User ID and based on that columns "Successful Orders -- Online - Total Orders", "Successful Orders -- Online - Total Amount" & likewise Retail - Total, Other - Total columns cells should be merged based on respective User Id.
I have used tablix control and tried adding grouping over columns which needs to be merged but it is not working as expected. in order to group I am setting Sum of returned Value in cell but yet no luck.
Can you please provide me some pointers in order to achieve whats expected. please let me know if you need more information
output after adding nested tablix
ScreenShot 2
also, distorted output with inner tablix. borders are causing issues
ScreenShot 3
Try placing a tablix in the cells containing the multiple rows to display them. Basically, you need to switch your approach from "How do I merge these cells?" to "How do I split these cells." Set up your grouping at the level you want your totals and then in each of the columns where you want the details displayed, add a tablix to display the details. You'll need to play with the grouping a bit to get it display correctly.
More details:
The sample you provided above should be one group level row, not multiple detail level rows. Add your group to that Tablix and the summaries you want for your Total columns. Then Merge each of the "Mode" and "Count" column pairs and insert a Tablix into that merged cell with the same grouping as the row with the Totals, but with only the Details row displayed (don't add group header or footer and delete the blank row and summary column that automatically gets added). Now just set your field values for Mode and Count and adjust your column widths to match the headings.
Here's a REALLY simple report that displays a Plant and the employees associated with that plant. This is the top level where you Totals group would go. The next image is the "inner" part, where you would add in another Tablix with the same group(s), but only the details displayed.
This is super simple example and you may need to include additional levels of grouping to match your report, but the fundamentals still the same - an "outer" Tablix with an "inner" Tablix with matching group(s).
There's a lot you can do with this approach by manipulating the groups, hiding/displaying different groups or even hiding the details and displaying subtotals.

SSRS sub report?

I have a weekly report that is pretty basic.
Engineer, Account number, Name, Date etc.
The twist that I am not sure how to accomplish is that the user needs to see a list of attachments based on the above criteria. I have a query which creates a single row for each attachment.
The layout I am looking is per the attached image. What I need to do is take the Attachment Name and create a row for each attachment under the existing tablix based on all of the other columns. Basically what is happening is that for each SIOA name, multiple attachments are being created. I just need to see them listed below for each occurrence. I hope this makes some sense.
Since I cannot post the image, I have a basic tablix with 11 columns. One of the columns is Attachment. I need the attachments grouped as separate rows below the other 10 columns. This way the user will see only one row for each project and multiple rows of the attachments.
If I'm understanding correctly, I think the simplest solution is to make a new row group based on the Account# (or whatever unique ID you may have for each record). Then put all your fields except the attachment field at the group level, and leave only the attachment field at the details level. That way you will get one row per group, with all the attachment rows listed beneath that group. More information on creating row groups here. You could also get fancy with a drilldown action if you wanted to.

Matching a field with rowgroup value

I'm converting some reports from Access to Oracle. Within Access you can use multiple headers but within SSRS you cannot.
I need to place (within the header of SSRS) a field which takes its value from the value of the current row group.
I know it's unnecessary however, those are the requirements I have been given within the spec.
Any idea how I would achieve this?
If I understand the requirements correctly, you can do something similar in SSRS. Some similar data to yours:
And a table based on this:
There is a group based on DepartmentName. This is set to page break for each group member.
Note that I have three group header rows: one to display the Department Name at the top of the page, one for the columns headers and one for spacing.
Since this is in the Group scope, it will always display the correct name: