partial sum
partial sum
Hi,
I'm trying to calculate partial sum for each line of a data band : The first solution i found is to use a text output with a summary that i put in the data band : The others text outputs located above are using the increazingSize and the descreasingSize shiftmode parameters. Those components are also setting up with conditional formatting to disable them under conditions In a edition, if those components are just disable, the increazingSize and descreazingSize parameters don't work, and I have a large blank in the data band left by the output texts The second solution i found is to use a child band below the data band. The blank is fill, but the output text with the summary doesn't add up anymore.
Is there another solution to calculate a partial sum with each line of the data band with the others contraints.
Best regards,
Arnaud
I'm trying to calculate partial sum for each line of a data band : The first solution i found is to use a text output with a summary that i put in the data band : The others text outputs located above are using the increazingSize and the descreasingSize shiftmode parameters. Those components are also setting up with conditional formatting to disable them under conditions In a edition, if those components are just disable, the increazingSize and descreazingSize parameters don't work, and I have a large blank in the data band left by the output texts The second solution i found is to use a child band below the data band. The blank is fill, but the output text with the summary doesn't add up anymore.
Is there another solution to calculate a partial sum with each line of the data band with the others contraints.
Best regards,
Arnaud
Re: partial sum
Hello.
Please, send us a report template with sample data to reproduce your issue.
Thank you.
Please, send us a report template with sample data to reproduce your issue.
Thank you.
Re: partial sum
Hi Aleksey,
I found an issue by assigning a null expression in the conditions of the different text components.
Thanks and best regards,
Arnaud
I found an issue by assigning a null expression in the conditions of the different text components.
Thanks and best regards,
Arnaud
Re: partial sum
Hello,
Ok.
Let us know if you need any additional help.
Thank you.
Ok.
Let us know if you need any additional help.
Thank you.
Re: partial sum
Well,
My report almost works, but I have difficulties with blanks.
Using a child band might be preferable, but the text components (in brown in the report) doesn't calculate that I want.
Thanks
My report almost works, but I have difficulties with blanks.
Using a child band might be preferable, but the text components (in brown in the report) doesn't calculate that I want.
Thanks
- Attachments
-
- [supplier] test.mrt
- (117.5 KiB) Downloaded 342 times
Re: partial sum
Hello.
We need to reproduce the issue to help you.
There is no data for the report template.
Please, send us sample data for the report.
Thank you.
We need to reproduce the issue to help you.
There is no data for the report template.
Please, send us sample data for the report.
Thank you.
Re: partial sum
Hello Aleksey,
There is a data file.
Thanks.
There is a data file.
Thanks.
- Attachments
-
- reportdata.xml
- (23.94 KiB) Downloaded 356 times
Re: partial sum
Hello.
Sorry, but we still couldn't reproduce the issue.
Could you use the following code in the BeforePrint event of a page and sent us the files you will get.
Thank you
Sorry, but we still couldn't reproduce the issue.
Could you use the following code in the BeforePrint event of a page and sent us the files you will get.
Code: Select all
{YourDataTableName}.DataTable.DataSet.WriteXml("e:\\data.xml");
{YourDataTableName}.DataTable.DataSet.WriteXmlSchema("e:\\data.xsd");