Group item & Sum of the value

Сonversation on different topics
Post Reply
XiaoJun
Posts: 7
Joined: Fri Jun 17, 2011 4:09 am
Location: Indonesia

Group item & Sum of the value

Post by XiaoJun »

Hi.. i come again :emb:


Is it posible to group same item and sum their value at stimulsoft?
ex: I have an table
No Code Color Quantity SubTotal
-----------------------------------------------
1 00001 Blue 100 10000
2 00002 Orange 50 5000
3 00001 Blue 30 3000
4 00003 White 50 5000


Then i need the row no 1 and 3 to be combine like :
No Code Color Quantity SubTotal
-----------------------------------------------
1 00001 Blue 130 13000
2 00002 Orange 50 5000
3 00003 White 50 5000


thanks before :amazed:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Group item & Sum of the value

Post by HighAley »

Hello.

Yes, It is possible. Please check attached report template.

Thank you.
Attachments
1240.SampleReport.rar
(1.88 KiB) Downloaded 698 times
XiaoJun
Posts: 7
Joined: Fri Jun 17, 2011 4:09 am
Location: Indonesia

Group item & Sum of the value

Post by XiaoJun »

Thanks for your reply,,:biggrin:

but why i can't open the report? is it because of my stimulsoft version? i am using stimulsoft report.net.2008.1.


HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Group item & Sum of the value

Post by HighAley »

Hello.
XiaoJun wrote:Thanks for your reply,,:biggrin:

but why i can't open the report? is it because of my stimulsoft version? i am using stimulsoft report.net.2008.1.
Yes, there are maybe problems with backward compatibility on older versions of StimulSoft Reports.
Please try attached report created in 2008.1 version.

Thank you.
Attachments
1242.Report2008.mrt
(8.41 KiB) Downloaded 841 times
XiaoJun
Posts: 7
Joined: Fri Jun 17, 2011 4:09 am
Location: Indonesia

Group item & Sum of the value

Post by XiaoJun »

it seem like the example is sort by the code,
but i need the sorting is by No, not by the code.:blush:

the illustration is like i have a table data and there's already sorting with the column No is the identity, and then in report, i want the same item is grouping without change the major sorting.


thanks :)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Group item & Sum of the value

Post by HighAley »

Hello.
XiaoJun wrote:it seem like the example is sort by the code,
but i need the sorting is by No, not by the code.:blush:

the illustration is like i have a table data and there's already sorting with the column No is the identity, and then in report, i want the same item is grouping without change the major sorting.


thanks :)
The sorting if GroupBand is necessary for right grouping. If you need any other sorting you can add it in DataBand.

Thank you.
Post Reply