SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Problem with a report.


Problem with a report.

Author
Message
dbman
dbman
SSChasing Mays
SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)

Group: General Forum Members
Points: 631 Visits: 1537
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
Attachments
screenshot.png (14 views, 67.00 KB)
screenshot2.png (14 views, 40.00 KB)
peterzeke
peterzeke
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1852 Visits: 1766
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



dbman
dbman
SSChasing Mays
SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)SSChasing Mays (631 reputation)

Group: General Forum Members
Points: 631 Visits: 1537
Report is fixed and working. Thanks for your help peterzeke.

Regards
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search