Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Problem with a report. Expand / Collapse
Author
Message
Posted Friday, February 15, 2013 7:18 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 4:59 PM
Points: 112, Visits: 1,478
Hello,

I have attached some images to show what the pages and when the pages are run.

What I have done so far is right clicked on Account...then Add Group>Row Group>Parent Group.

Then...Group By Account. A new column called Accoun 1 has now been created.

When i run the report i get the results of screenshot One.png which is All of the Accounts related to each of the sales.

So in F2123 Account is related to F2123 sales.

If you look at screenshot2.png it shows the end of the Account details...then the start of the Account Sales.

The sales start with account F2123..and then go on to the next Account Sales.



I want the report to show

The Account Details for One Account.

Then the Account Sales....for One related Account

Thanks




  Post Attachments 
screenshot.png (8 views, 67.27 KB)
screenshot2.png (8 views, 40.56 KB)
Post #1420527
Posted Friday, February 15, 2013 1:08 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: 2 days ago @ 10:47 PM
Points: 316, Visits: 1,478
I think you're striving for a master-detail report style: Here's an idea

Try using a list data region, grouping by Account, and add your two tables within the list region. Here's a link that illustrates the technique:

http://jesborland.wordpress.com/2010/11/17/the-power-of-reporting-services-–-lists/


Also, here's a link to nesting data regions in SSRS:
http://msdn.microsoft.com/en-us/library/cc627449(v=sql.100).aspx

Lastly, one other link that might help:
http://technet.microsoft.com/en-us/library/dd239330(v=sql.105).aspx



Post #1420729
Posted Thursday, February 21, 2013 4:03 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Today @ 4:59 PM
Points: 112, Visits: 1,478
Report is fixed and working. Thanks for your help peterzeke.

Regards
Post #1422492
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse