Master-Detail Report with Groups
Master-Detail Report with Groups
Hi,
I'm trying to create a summary report that have grouping on both Master data and Detail data and I'll need to sum the data of Detail based on Master grouping.
I have try to create a similiar report with stimulsoft demo data where Master data is Order and Detail data is Order Detail, my Master is group by OrderDate and Detail is group by ProductID. On OrderDate 14/09/2008 the report produce 2 sets of grouping because there are 2 orders on that particular date, is there anyway to show only 1 detail grouping?
Thank you.
I'm trying to create a summary report that have grouping on both Master data and Detail data and I'll need to sum the data of Detail based on Master grouping.
I have try to create a similiar report with stimulsoft demo data where Master data is Order and Detail data is Order Detail, my Master is group by OrderDate and Detail is group by ProductID. On OrderDate 14/09/2008 the report produce 2 sets of grouping because there are 2 orders on that particular date, is there anyway to show only 1 detail grouping?
Thank you.
- Attachments
-
- SummaryReport.mrt
- (30.99 KiB) Downloaded 330 times
-
- Summary.png (39.72 KiB) Viewed 3646 times
Re: Master-Detail Report with Groups
Hello,
Please check the modified report in the attachment.
Thank you.
Please check the modified report in the attachment.
Thank you.
- Attachments
-
- SummaryReport_modified.mrt
- (32.35 KiB) Downloaded 264 times
Re: Master-Detail Report with Groups
Hi Aleksey, thank you so much for your reply.
I have tried your modified report and it does only produce 1 set of grouping for Detail data, however it does not sum up correctly. On 14/09/2008 ProductID 24 should only appear once and the Quantity should be 18 and Total should be 64.8, any solution for this?
Thanks again.
I have tried your modified report and it does only produce 1 set of grouping for Detail data, however it does not sum up correctly. On 14/09/2008 ProductID 24 should only appear once and the Quantity should be 18 and Total should be 64.8, any solution for this?
Thanks again.
- Attachments
-
- Summary2.png (38.61 KiB) Viewed 3637 times
Re: Master-Detail Report with Groups
Hello.
We have mode some changes in the report template.
Now the grouping for order details works right.
Thank you.
We have mode some changes in the report template.
Now the grouping for order details works right.
Thank you.
- Attachments
-
- SummaryReport_modified2.mrt
- (31.91 KiB) Downloaded 306 times
Re: Master-Detail Report with Groups
Hi Aleksey, thanks again for your reply.
The new report that you provide is able to work with Master Data with 1 Detail Data but I can't figure out how to modified it for multiple Detail Data.
I have attached a modified Demo data where I have added a new table which is Order Payment. 1 Order can have multiple detail as well as multiple payment and it's link by OrderID, I have also added 2 new columns in the Order table which is DetailAmount and PaymentAmount and it's the sum of the detail amount and payment amount respectively based on the OrderID.
Finally I have attached a screenshot for my expected result.
Sorry for all the trouble.
Thank you.
The new report that you provide is able to work with Master Data with 1 Detail Data but I can't figure out how to modified it for multiple Detail Data.
I have attached a modified Demo data where I have added a new table which is Order Payment. 1 Order can have multiple detail as well as multiple payment and it's link by OrderID, I have also added 2 new columns in the Order table which is DetailAmount and PaymentAmount and it's the sum of the detail amount and payment amount respectively based on the OrderID.
Finally I have attached a screenshot for my expected result.
Sorry for all the trouble.
Thank you.
- Attachments
-
- Demo.zip
- (429.76 KiB) Downloaded 210 times
-
- Summary3.png (64.98 KiB) Viewed 3625 times
Re: Master-Detail Report with Groups
Hello.
To understand the problem with master-detail scheme we make some changes in your report template. You could see that groups a created by Orders. you need to show details for group but the details are shown for each order. So if there is the same ProductID for different orders they are do not summed.
Could you describe your full task? For your last case the template can not be created in our way.
Here is our next solution for you. Thank you.
To understand the problem with master-detail scheme we make some changes in your report template. You could see that groups a created by Orders. you need to show details for group but the details are shown for each order. So if there is the same ProductID for different orders they are do not summed.
Could you describe your full task? For your last case the template can not be created in our way.
Here is our next solution for you. Thank you.
Re: Master-Detail Report with Groups
Hi Aleksey,
The Summary3.png in my previous post is already my desired final result, but please let me elaborate in detail.
Order - Added 2 new column DetailAmount and PaymentAmount which is the sum amount of Order Detail and Order Payment based on Order ID, this 2 columns is use to check whether there are any difference between Master and Detail. Current sample is group by OrderDate but it might group by other column as well such as CustomerID, ShipRegion or ShipCountry.
Order Detail - 1 Order may contain multiple item, need to group by ProductID and also Master Grouping.
Order Payment - 1 Order may contain multiple item, need to group by PaymentID(CASH, CARD, VOUCHER, etc) and also Master Grouping.
So in the end I'll need to create a summary report that has grouping on all Master and Detail data and Detail data should not produce duplicate record and sum up based on Master grouping and also Detail own grouping, please refer the screenshot below and also Summary3.png for clearer picture.
Thank you.
The Summary3.png in my previous post is already my desired final result, but please let me elaborate in detail.
Order - Added 2 new column DetailAmount and PaymentAmount which is the sum amount of Order Detail and Order Payment based on Order ID, this 2 columns is use to check whether there are any difference between Master and Detail. Current sample is group by OrderDate but it might group by other column as well such as CustomerID, ShipRegion or ShipCountry.
Order Detail - 1 Order may contain multiple item, need to group by ProductID and also Master Grouping.
Order Payment - 1 Order may contain multiple item, need to group by PaymentID(CASH, CARD, VOUCHER, etc) and also Master Grouping.
So in the end I'll need to create a summary report that has grouping on all Master and Detail data and Detail data should not produce duplicate record and sum up based on Master grouping and also Detail own grouping, please refer the screenshot below and also Summary3.png for clearer picture.
Thank you.
- Attachments
-
- SummaryData.png (47.74 KiB) Viewed 3619 times
Re: Master-Detail Report with Groups
Hello.
You could move Panels on the Group Footer and add summing to Orders data band.
If you need more detailed help, please, write to support@stimulsoft.com.
Thank you.
You could move Panels on the Group Footer and add summing to Orders data band.
If you need more detailed help, please, write to support@stimulsoft.com.
Thank you.
Re: Master-Detail Report with Groups
Hi Aleksey, thanks for all your help, I'll see what other alternative I have.
Thank you.
Thank you.
Re: Master-Detail Report with Groups
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.