Conditional Formatting Issue on Crosstab Report

Stimulsoft Reports.WEB discussion
Post Reply
dwhybro
Posts: 8
Joined: Fri Nov 02, 2018 12:42 am
Location: Sydney, Australia

Conditional Formatting Issue on Crosstab Report

Post by dwhybro »

Hi, I have a crosstab report that requires conditional formatting on one of the output cells. It is a calculated field of no.of weeks which should be highlighted if greater than 40 and left un-highlighted if less than 40. Upon rendering every record is highlighted regardless of value. Can anyone assist. Attached is the report and I am running Reports.Web v 2016.3.7 embedded into our database product.
CrossTabTest.mrt
(320 KiB) Downloaded 291 times
CrossTabTest.mrt
(320 KiB) Downloaded 291 times
Attachments
SampleReportOutput.png
SampleReportOutput.png (30.19 KiB) Viewed 2492 times
Conditions Setting.png
Conditions Setting.png (78.59 KiB) Viewed 2492 times
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditional Formatting Issue on Crosstab Report

Post by Lech Kulikowski »

Hello,

In the Cross-Tab conditions only system variables - tag, value are available.
You can find samples:
https://demo.stimulsoft.com/#Net/CrossT ... Condition2

Thank you.
dwhybro
Posts: 8
Joined: Fri Nov 02, 2018 12:42 am
Location: Sydney, Australia

Re: Conditional Formatting Issue on Crosstab Report

Post by dwhybro »

Thanks Lech. So should using this condition work on the 'Weeks' row item:

tag > 40 or value >40

I can't seem to get any option to work.
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditional Formatting Issue on Crosstab Report

Post by Lech Kulikowski »

Hello,

Please send us a test data for your report.

Thank you.
dwhybro
Posts: 8
Joined: Fri Nov 02, 2018 12:42 am
Location: Sydney, Australia

Re: Conditional Formatting Issue on Crosstab Report

Post by dwhybro »

Hi Lech,

I've attached a dump of some test data in Excel format. Hope this is enough.
test_data_2019-06-11_crosstab.xlsx
(12.65 KiB) Downloaded 235 times
Thanks
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Conditional Formatting Issue on Crosstab Report

Post by Lech Kulikowski »

Hello,

Conditions with value, Tag variables are supported only for Summary cells.
For Rows and Columns, is needed to use an additional code in events:
https://stimulsoft.zendesk.com/hc/en-us ... -cross-tab

but if check your screenshot, is used flash version, in which events are not supported.

Thank you.
Post Reply