Hi,
Does anyone have any ideas on the below?
I have a Crosstab with a Date range as the column headings. The date is filtered to show Fridays only within a date range (@backuptime). The rows are the names of servers being backed up {emm_image.clientname} The field values are summarised data volumes of data being backed up @size. So my crosstab looks like this:
14/1/12 21/1/12 28/1/12
clienta 100 130 80
clientb 100 40 41
clientc 200 200 150
Total 400 360 280
I need to be able to highlight the summarised values in red if they go up more than 20% and green if they go down more than 20%. Anything within 20% stays black.
So in the example above for clienta 100 would be black, 130 would be red and 80 would be green. For client b 100 would be black 40 would be green and 41 would be black. For clientc 200 would be black, 200 would be black and 150 would be green.
I have tried for format field > font > color > x2 the following formula:
if ({@size}\ previous ({@size})) \ 100 < 80 then crred and so on, but this won't work as it's using the @size value.
I can do a basic forumla of
If currentfieldvalue < 100 then crred
else black
This will change the colour of all fields under 100, but I cannot find how to compare the currentfieldvalue to the previous (column) value.
I then tried to do a manual cross tab, but could not get that to work either!
Any ideas? I would be very grateful!! Thank you.
Does anyone have any ideas on the below?
I have a Crosstab with a Date range as the column headings. The date is filtered to show Fridays only within a date range (@backuptime). The rows are the names of servers being backed up {emm_image.clientname} The field values are summarised data volumes of data being backed up @size. So my crosstab looks like this:
14/1/12 21/1/12 28/1/12
clienta 100 130 80
clientb 100 40 41
clientc 200 200 150
Total 400 360 280
I need to be able to highlight the summarised values in red if they go up more than 20% and green if they go down more than 20%. Anything within 20% stays black.
So in the example above for clienta 100 would be black, 130 would be red and 80 would be green. For client b 100 would be black 40 would be green and 41 would be black. For clientc 200 would be black, 200 would be black and 150 would be green.
I have tried for format field > font > color > x2 the following formula:
if ({@size}\ previous ({@size})) \ 100 < 80 then crred and so on, but this won't work as it's using the @size value.
I can do a basic forumla of
If currentfieldvalue < 100 then crred
else black
This will change the colour of all fields under 100, but I cannot find how to compare the currentfieldvalue to the previous (column) value.
I then tried to do a manual cross tab, but could not get that to work either!
Any ideas? I would be very grateful!! Thank you.