Report with grouped data (Reporting Services)

I want to show how we can make a report with grouped data in visual basic. Net. We build on this and the previous example.

Our report looks like this:

Select the row of data (middle) and clicking the right mouse button, drop down the menu and select Insert Group.

This will open a properties window grouping and sorting. To create a group (in my case I'm going to group products by brand) select the field containing the data from the Expression drop-down list to the Group By section:

Pressing OK in the above table, we see that we added a row before and one after the row of data. These rows are the header and group footer.

In my case I found it useful to combine the cells in the group header if one brand has a long name.

On the row group headers and loose drag the field scores from the panel data sources.

For the group footer, column drag and loose money from elk panel field backgrounds the price data. The difference is that when released on a group cell placed SUM function automatically so the result will be the sum of the prices of items in that group. For the total group has the same format as the individual prices, I can add the FORMAT function as in the cell above.

Well, here's the report ... the truth that was pretty cute ...

Hope you like and above all that they can use in their projects. Leave your comments, thanks.

10 Responses to "Report with grouped data (Reporting Services)"

  1. Information Bitacoras.com ...

    Rate in Bitacoras.com: I want to show how we can make a report with grouped data in visual basic. Net. We build on this and the previous example. Our report looks like this: Select the row of data (the measurement of .....

  2. Virtual Mega Marketing says:

    Hello, I wanted to congratulate you on your page is excellent, if you want, go through my page and leave me a comment, I have a lot of traffic on my site, if you want we can do a link exchange, banners, anything let me know, I leave my email tvinternet08@gmail.com , I send you a hug.

    Mega Marketing Team Virtual

  3. Aldo says:

    friend need help I need know how to make a filter that does not show everything I have in my bd
    vor porfa write me to my email

    • Elisha says:

      To not display all records in a table you must modify the SQL command you use to query and add the where clause. More info here .

  4. John Smith says:

    Hello this good example but I want to know if you could add a counter to the groups not only to detail is, in your example .. Size would be 1, Casio 2, 3 etc. Peavey serious. I hope your answer thanks.

  5. gabriel says:

    This very cool very cool this document and want to know how to insert a Imegen in datagrid

  6. Nicolas says:

    Thanks for the input ... I was dressed quite recently but now you need it and me out of trouble ...

  7. Ignacio says:

    Excellent contribution ...
    I make a question: How to control page breaks in groups, for example, if the group has many rows, jump to the next page and leaves only the first title.
    I hope you can answer me, thank you very much

  8. Jazz says:

    Hello, I was pleased to find your info, in my life had made a report and asked to me suddenly with this feature of grouped and really served me well. Thank you.

  9. hugo says:

    Hello interesting your code! , I wanted to ask how I can make that data filtering for a specific brand but that the same user indicates what type of brand you want! thanks!

Comment