cant display percents in cross-summary

Stimulsoft Ultimate discussion
Jacunio
Posts: 11
Joined: Tue May 27, 2014 11:39 am

cant display percents in cross-summary

Post by Jacunio »

I have two suummary field in a crosstab. One is set to count, second as percent, but the problem is I cant get percents in cross-summary total. Anyone can help?
Image
Image
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

Can you please send us your report with test data for analysis.

Thank you.
Jacunio
Posts: 11
Joined: Tue May 27, 2014 11:39 am

Re: cant display percents in cross-summary

Post by Jacunio »

PM sent.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

Unfortunately, at the current moment, it works as is.
Please send us a request on support@stimulsoft.com

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

At the current moment, you can use the ProcessCell event for calculating percent value in totals.
http://support.stimulsoft.com/index.php ... -cross-tab

Please check the sample report in the attachment.

Thank you.
Attachments
ReportCrossTabPercentInTotals.mrt
(27.25 KiB) Downloaded 307 times
Jacunio
Posts: 11
Joined: Tue May 27, 2014 11:39 am

Re: cant display percents in cross-summary

Post by Jacunio »

Thank you for help, it is almost perfect. But to be more complicated, I have multiple rows with multiple summaries, and between report passes there calculated sums should be keeped for each row for second pass. I am trying to find out, hot to make it.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

In this case, you should check the different summary index for each group of totals cells:
e.Cell.SummaryIndex == 1
e.Cell.SummaryIndex == 3
...
etc

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

Please check the modified report on email.

Thank you.
Jacunio
Posts: 11
Joined: Tue May 27, 2014 11:39 am

Re: cant display percents in cross-summary

Post by Jacunio »

Aleksey, thank you for example, but I am getting critical error when opening report : "Unable to cast System.String to Stimulsoft.Report.Dictionary.StiVariable"
I am using Ultimate 2016.1 under Windows Serwer 2012.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: cant display percents in cross-summary

Post by Alex K. »

Hello,

Please check the modified report on the email.

Thank you.
Post Reply