i have a simple matrix with a dynamic rowgroup, a dynamic columngroup and the subtotals for them.
all is ready and good, but now i have to colorize the values in the cells but only in subtotal row and colum. if the value is zero (0) then the font color must be red, if the value is bigger than zero (0) it must be green.
i tried this:
=
iif
(InScope("matrix1_ReVuShortCut"),
iif(InScope("matrix1_EventTyp"),
"Blue",
iif(Me.Value.ToString = "0", "Red", "Green")
),
iif(InScope("matrix1_EventTyp"),
iif(Me.Value.ToString = "0", "Red", "Green"),
iif(Me.Value.ToString = "0", "Red", "Green")
))
the reportmatrix shows the cell values outside the subtotals as expected in blue, but makes the zero (0) values in the subtotal column/row black and not red; the values that are not zero (0) in the subtotal column/row are green indeed! please see my screenshot...AND HELP ME IF POSSIBLE
thanks in advance....roland
=================================================
i tried my solution depending on this knowledge:
=
iif
(InScope("matrix1_ColumnGroup1"),
iif(InScope("matrix1_RowGroup1"),
"In Cell",
"In Subtotal of RowGroup1"),
iif(InScope("matrix1_RowGroup1"),
"In Subtotal of ColumnGroup1",
"In Subtotal of entire matrix"
))
all is ready and good, but now i have to colorize the values in the cells but only in subtotal row and colum. if the value is zero (0) then the font color must be red, if the value is bigger than zero (0) it must be green.
i tried this:
=
iif
(InScope("matrix1_ReVuShortCut"),
iif(InScope("matrix1_EventTyp"),
"Blue",
iif(Me.Value.ToString = "0", "Red", "Green")
),
iif(InScope("matrix1_EventTyp"),
iif(Me.Value.ToString = "0", "Red", "Green"),
iif(Me.Value.ToString = "0", "Red", "Green")
))
the reportmatrix shows the cell values outside the subtotals as expected in blue, but makes the zero (0) values in the subtotal column/row black and not red; the values that are not zero (0) in the subtotal column/row are green indeed! please see my screenshot...AND HELP ME IF POSSIBLE
thanks in advance....roland
=================================================
i tried my solution depending on this knowledge:
=
iif
(InScope("matrix1_ColumnGroup1"),
iif(InScope("matrix1_RowGroup1"),
"In Cell",
"In Subtotal of RowGroup1"),
iif(InScope("matrix1_RowGroup1"),
"In Subtotal of ColumnGroup1",
"In Subtotal of entire matrix"
))