Question : Reporting Services Grouping/Visibility/Toggle<wbr />

Hello - Let's say in reporting services 2005 I have a table (reporting services table populated from a dataset) which has column headings like:
State | FirstName | LastName | Address

and the table in the report is currently showing row data such as:
Hawaii | Joe | Someone | 123 volcano rd.
Hawaii | Jack | Blades | 54 peach street
Texas | John | Smith | 123 street
Texas | Bill    | Jones| 456 street
Texas | Sally | Struthers | 1345 street

could someone please give detailed steps on how i would do the following with the data?
end up with 1 row for Hawaii and one row for Texas that toggle, when i click the "+" next to hawaii, it expands to show the user info data for hawaii, and the same thing for texas, etc...

i know it has to do with visibility/toggle and grouping, but apparently i'm not putting things together exactly right

thanks!



Answer : Reporting Services Grouping/Visibility/Toggle<wbr />

Let me just start from the clean slate:

1. On the empty report page drop a table and create a dataset (if you haven't).

2. Drag and drop on the detail area your fisrt name, last name, and address fields (the detail area is the middle of the table). Start from the second column - leave the first one empty.

3. Click the row header of your details (a little gray square on the left to select a whole row) and select "Insert Group". Select your state field in the Group on field.

4. Drag and drop your state fied in the header of your group in the first column.

5. Select details row (with your f.name, l.name, and address), right click, select properties and go to visibility. Set Hidden to True and Toggle Item to State (your field name).

That's it. If you view your report, you see the list of states with + left of them and when you click +, you'll see all relevant data.

That's very basic, but that's what you're after. You can enhance your header, adding summary information on your group (total clients, etc.) and switch its visibility as well depending on details row.

Good luck :)
Yurich
Random Solutions  
 
programming4us programming4us