if you have a look on this link SSRS 2008 - Sorting within a group it should be possible to sort at a Tablix and overwrite this behavior on the Grouping. So my structure is basically: Tablix --> Grouping --> Details Group
In the Grouping, I want to sort (and group ofc) at the PbiID ascending, but the Items without PBI-Number or Number = 0 should come last.
So before I sort to PBINr I added another sorting expression at the Group:
=
switch(
Fields!PBINr.Value is nothing, 2,
Fields!PBINr.Value = 0, 1,
1 = 1, 1)
I even tried some strange stuff like:
=
switch(
Fields!PBINr.Value is nothing, "zzzzzzzzz",
Fields!PBINr.Value = 0, "yyyyyyy",
1 = 1, "aaaaaa")
But nothing seems to work. So is the sorting itself wrong or can't I sort at the Grouping?
Thanks in advance.
Matthias
IsNothing(Fields!PBINr.Value)instead of what you have above. - Ian Preston