Crosstab Total properties

Stimulsoft Reports.NET discussion
Post Reply
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Crosstab Total properties

Post by jmiller »

I have a crosstab where the summarized data is in columns. There is a total for each column at the bottom of the crosstab. Is there a way to define the properties for the individual column totals? For example for one column I do not want a total to appear. In another I want to add some text with the total. And in another maybe even do some conditional formatting.
P1 P2
C1 D1 D2 D3 D1 D2 D3
C2 D1 D2 D3 D1 D2 D3
----- ---- ---- ---- ---- ----
T1 T2 T3 T1 T2 T3

The total T1, I do not want to display. T3 I would like to be bold and red if the total is negative.
Attachments
1289.crosstab2.png
1289.crosstab2.png (1.51 KiB) Viewed 2124 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Crosstab Total properties

Post by Alex K. »

Hello,

Could you, please send us test data in the form you use them. We need them for analysis.

Thank you.
jmiller
Posts: 91
Joined: Mon Sep 20, 2010 12:18 pm

Crosstab Total properties

Post by jmiller »

Here you go. I would like it so that 1) the "Unit Price" column does not total and if the "Total Price" is below 750 then make the total bold and blue. I also would like to see an example of adding text to the total. For example in the "Total Price" total:
if ( total < 500 ) "Poor: "
else if ( total < 750 ) "Fair: "
else "Good: "
+ (the total)

So the totals for Bolts would be:
Unit Price: "empty"
Quantity: "750"
Total Cost: "Good: 937.50"

And the totals for Buts would be:
Unit Price: "empty"
Quantity: "750"
Total Cost: "Fair: 562.50" (and the text is blue)

Attachments
1293.CrossTabData.xsd
(769 Bytes) Downloaded 216 times
1292.CrossTabData.xml
(514 Bytes) Downloaded 205 times
1291.CrossTab.mrt
(15.13 KiB) Downloaded 255 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Crosstab Total properties

Post by HighAley »

Hello.
jmiller wrote:Here you go. I would like it so that 1) the "Unit Price" column does not total and if the "Total Price" is below 750 then make the total bold and blue. I also would like to see an example of adding text to the total.
To switch off total in the "Unit Price" column, please, set the summary property to "None". See attached image.

Unfortunately, the condition for one of totals isn't supported now. You can set the condition formatting only for all Totals.

Thank you.
Attachments
1294.cross.png
1294.cross.png (58.85 KiB) Viewed 2105 times
Post Reply