sorting - Why is my matrix row group sort not working in SSRS -


I have a matrix where the rows are being pulled with DB and they are showing as follows:

< Pre> serious high informative lower middle

I have to show them like this:

  serious high middle low informative  

Currently, I am going to row group properties, and I am sorting and entering the following expression.

  = IIF (value! Risk value = "critical", 1, iiF (field! Risk value = "high", 2, iif (field! Risk value = "medium" , 3, iiF (field! Risk; value = "low", 4, 5)))  

When I generate a report, then now only 1 row is just " Important "row

= iif (field! Risk.)

value =" important "," 1 ", IIF (field! Risk. Value =" high "," 2 " , IIF (field! Risk value = "medium", "3", IIF (f) Value! Risk: value = "low", "4", iiF (field! Risk value = "informative", "5", ""))))))))

all lines again But in the wrong sequence is not being done in any way.

Cleaner can be more accurate for making this risk identifier available, instead of the report runtime In your original dataset through the actual dataset, you can include a case statement inside the SQL statement of your selection:

The case [risk] when 'serious' then' 1 'when' high 'then' 2 '
When' medium 'then' 3 'when' low 'then' end '5' will end as 'risk' identifier

Then you He will tablix / matrix "Jokim_ identifier" and it will be available to sort or group. / P>


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -