I have a matrix where the rows are being pulled from a DB and they are showing as follows:
Critical
High
Informational
Low
Medium
I need them to show like this:
Critical
High
Medium
Low
Informational
Currently, I am going to the row group properties, and I am choosing sort, and entering in the following expression.
=IIF(Fields!Risk.Value = "Critical", 1, IIF(Fields!Risk.Value = "High", 2, IIF(Fields!Risk.Value = "Medium", 3, IIF(Fields!Risk.Value = "Low", 4, 5))))
When I generate a report, it now only has 1 row. Just the "critical" row. All other rows are missing.
Does anyone have any idea what I am doing wrong?
When I use this:
=iif(Fields!Risk.Value = "Critical", "1", iif(Fields!Risk.Value = "High", "2", iif(Fields!Risk.Value = "Medium", "3", iif(Fields!Risk.Value = "Low", "4", iif(Fields!Risk.Value = "Informational", "5", "")))))
all the rows show again but in the incorrect order as if no sort is being done at all.