question

KnuifMBGMartin-5005 avatar image
0 Votes"
KnuifMBGMartin-5005 asked Joyzhao-MSFT commented

Report Builder 3.0 Grouping but info in every row

I have made a report en made a group (Name, Place, Afk), the result is like the first screenshot. I like to have in the red cels that there was also the data of the cel above, see the green cels in the second screenshot. So I don't have to do anything when exporting to EXCEL. Who can help me? Thanks in advance ![69746-screenshot1.png][1]![69739-screenshot2.png][2] [1]: /answers/storage/attachments/69746-screenshot1.png [2]: /answers/storage/attachments/69739-screenshot2.png

sql-server-reporting-servicesoffice-excel-itpro
screenshot1.png (5.8 KiB)
screenshot2.png (6.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Joyzhao-MSFT avatar image
0 Votes"
Joyzhao-MSFT answered Joyzhao-MSFT commented

Hi @KnuifMBGMartin-5005 ,
Assuming [Place] group by [Name], when we create a group, a new column [Name] will be added, delete the [Name] column, and select "Delete column only". Then insert [Name]Details outside the group.
I did the test locally, you can refer to the following operations:

  1. First I have an original table, and I have messed up the order of name and place. As shown below:
    69873-original-table.jpg
    69925-original-table-02.jpg

  2. Create a group, where I set [Afk] group by [Place], [Place] group by [Name], and then delete only the column of the parent group, as shown in the following gif file:
    69839-02.gif
    69874-delete-column-only.jpg

  3. Export to Excel file for viewing:

69809-export-to-excel.jpg

Hope this helps.
Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



original-table.jpg (12.3 KiB)
02.gif (514.4 KiB)
export-to-excel.jpg (65.7 KiB)
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for uour quick response, and very helpful to show that in a video.
Bit now I see I forgot the most relevant detail. My problem occurs in a matrix-report. I tried your solution in my matrix report but unfortunately it is not working. Can you help me …. again?

0 Votes 0 ·

Hi @KnuifMBGMartin-5005 ,
What is the structure of your matrix report? Could you provide some samples?
Judging from the data you provided before, I think tablix is more suitable for your needs.
Tablix has a fixed number of columns and a variable number of rows. In other words, the number of rows in the table depends on the number of result rows returned after executing the database query.
Matrix is that rows and columns are variable. The matrix displays data in a structure similar to a cross-tab or axis table. Rows and columns can be grouped.
Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

Hi @Joyzhao-MSFT,

I sent you mine example of a matrix-report and I hope it shows to you what I finally want.
Thanks again in advande.

Martin Knuif

70513-matrix-example.png


0 Votes 0 ·
matrix-example.png (20.5 KiB)
Show more comments

@Joyzhao-MSFT
Thanks for replying. You mean the table underneath? Thanks in advance.
71042-matrix.png


0 Votes 0 ·
matrix.png (97.7 KiB)

Hi @KnuifMBGMartin-5005 ,
OK, I see. I will demonstrate as follows, please check carefully, I left blank for the month column, because it is not difficult for you.

71112-04.gif

Best Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 Vote 1 ·
04.gif (1.1 MiB)

Hello @Joyzhao-MSFT It's fantastic, it works.
Can you also help me in the next case?
I want a total of all [Sum(TotalWaarde)] in every column. It seems to me simple, but everything I tried failed. I often get a total per line, but I want per column a total of all lines.
Thanks again in advance.

71120-total.jpg


0 Votes 0 ·
total.jpg (157.8 KiB)

Hi @KnuifMBGMartin-5005
Judging from the title of the case,It seems this is one question that worth to be separated in one independent thread, how do you think ?
Could you help kindly to close this thread and mark helpful answer and open a new thread so we could work on that ?
Thanks for you understanding ! :)

Best Regards,
Joy


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

1 Vote 1 ·