SSRS line subgrouping by lines and not by columns - sql-server

I want to have a row subgroup that will act like a head line with the details belonging to each subgroup (see below)
This is what I've done so far
Add a parent row group with the field LibelDestinataire as you can see in the picture
This is the result I have
Something is wrong but I'm unsure where. I've used a table. I've tried with a matrix but it did not do what I expected.
Any tips are welcomed.

Create a new tablix, right click the details group, select Add Group / Parent Group and use this settings:
You will get a tablix like this:
Delete the left most column (created by the group).
Delete the first row and use the LibelDestinataire field in the selected cell.
Merge the three cell next to the first cell and set the other fields in the next row:
You will get something like this:
In preview it should be something like this:
Apply the color and formats you want to cells and you will get the desired result.
Let me know if this helps.

Related

Google Sheets: Using Transpose on an array in other tabs & identifying the tab by

I would appreciate some help, please.
I have a google sheet with many tabs with data going horizontally.
I would like to create a formula that imports and transposes the data into a vertical list.
However, I want to be able to type in (or drop-down list) to select the tab which the transpose formula to look at. I cannot get anything to work. I have tried this
=TRANSPOSE(A1&!B2:J2)
To add to that if it could use a lookup (vlookup or hlookup) to find the correct row to transpose then that would be great also.
I have set up a test sheet below. Please help. Many Thanks Tim https://docs.google.com/spreadsheets/d/1Menn6Z1mLl8wYOrcdQFnfs7Lp0dbC9UJe1S3AQRcOS0/edit#gid=0
You should not use IMPORTRANGE to work with data that exists anywhere in the same spreadsheet. IMPORTRANGE is for use retrieving data from a separate spreadsheet.
Instead, delete your current Sheet1!A2 formula and replace it with this:
=ArrayFormula(TRANSPOSE(INDIRECT(A1&"!B16:J16")))
I also added a new sheet ("Erik Help") with an advanced formula that accomplishes your lookup using whatever is types in B1. If whatever is typed in B1 exists in Column A of the selected sheet, the results of that row will be retrieved. If no match is found, IFERROR will return "No Match Found."
That formula, in 'Erik Help'!A2:
=ArrayFormula(IFERROR(QUERY(TRANSPOSE(INDIRECT(A1&"!B"&VLOOKUP("*"&B1&"*",{INDIRECT(A1&"!A:A"),ROW(INDIRECT(A1&"!A:A"))},2,FALSE)&":"&VLOOKUP("*"&B1&"*",{INDIRECT(A1&"!A:A"),ROW(INDIRECT(A1&"!A:A"))},2,FALSE))),"Select * WHERE Col1 Is Not Null"),"No Match Found"))

How to Remove 「Total」 row in SSRS report?

I am new to SSRS.
In report, I have One table layout result where its first row (there is a bug in total) and last row is having total of all the fields. (Like shown in below image)
Given 「Total」 in first row, which I want to remove from the Report simply. I have its source file and I tried already so many ways but I am not getting its solution.
Edited
Design View of the same is here
Row Groups Panel is looking like:
Group Properties:
Expression 1(top left most):
=Iif(Fields!LineCaption.Value="","TOTAL", Fields!DispOrder.Value & ". " & Fields!LineName.Value)
Expression 2(below of top left):
=Iif(Fields!LineCaption.Value=""," ", Fields!AddupInfo.Value)+ " "
Thank you to All Commentators for commenting and giving your precious time in my problem with suggestions.
But I have found my own way solution.
By creating condition on Row_Group Visibility option while it loads the data from server.
As「Total」field was getting calculated in Row_Group only. So in Visibility option, I checked for first Row that "If first row is not Line_Name(My field name) then Hide that Row".
Maybe this is not the accurate answer but this was the only option for me to add.
You can do it via the context menu in the matrix view, not in the "Row Group" are:

How to Merge two Rows as Single Row in SSRS?

I have Report something like this:-
I applied visibility False to first column value when ever we get text like PARAMETERS in second column and It worked but my requirement is whenever the text like PARAMETERS then it should be displayed as a single row.How can I do that?

Xtrareport DevExpress Keep Table together with the first record

I have some data that I want to be displayed the following way and I cannot find how to do it:
For example this would be the keep together case:
But I don't like that I have a lot of blank spaces when data is too much, so I would like the following to happen if possible.
When the colNames and the first row can fit in the remaining space put them there.
Or if more can fit after the first row, put all of them there and split where it is possible if necessary.
Basically I want a 'Keep together' option for the columns and first row, and everything else can be splitted at any point.
If anyone wants to achieve the same functionality do the following:
Put the table column names inside a GroupHeader and set its GroupUnion property to WithFirstDetail.
Put the table rows in the Detail next to the GroupHeader.
By doing this the WithFirstDetail property, as the name suggests, will try to keep the header with the first record, or move to the next page. Therefore achieving the behavior described above.

How to navigate between two different tables in VB.NET (Access database)

In my VB.Net program I need to add the table "order" and "line of order".
If the first order is selected, I can only navigate the line(s) of order that is linked to the first order. I have no_order in my "line of order" table, so if it's the the first order, I need to only be able to navigate between the line of order with the value "1" in no_order.
In my program I already have the table "product" that I can navigate, delete, add, and modify. How much more complicated is this, or different to do what I just mentioned above? How should I go about doing this? I'm not sure where to start. Would it help if I posted my code from the "product" table?
Thanks.
If you are selecting orders from a dropdown and want lines of order on the same form then you should try this.
Bind the order dropdown on formLoad or PageLoad and set enable=false to 2nd dropdown (i.e of lines of code)
Bind the 2nd dropdown on 1st dropdown's selectedIndexChanged event with the query something like this.
/* ConnectionObject, CommandObject and all that */
select * from LinesofCode where no_order=#no_order
cmd.parameter.addwithValue("no_order",dropdown1st.selectedValue);

Resources