I have a chart in a report in SSRS to display ticket counts. There are 3 groups: Submitted, Closed - FCR, Open. Each group has a 4 ticket types of Submitted, Closed, FCR, Open. For the Submitted and Open groups I want the labels on the graph to be centered over the bar. When the counts are 0, the type is not shown. This is what the chart looks like now:

This is the SWITCH statement I added to the ticket type Series group to order the types:
=Switch(
Fields!TicketGroup.Value = "Submitted" AND Fields!TicketType.Value = "Submitted", 1,
Fields!TicketGroup.Value = "Submitted" AND Fields!TicketType.Value = "Closed", 2,
Fields!TicketGroup.Value = "Submitted" AND Fields!TicketType.Value = "Open", 3,
Fields!TicketGroup.Value = "Submitted" AND Fields!TicketType.Value = "FCR", 4,
Fields!TicketGroup.Value = "Closed" AND Fields!TicketType.Value = "Open", 1,
Fields!TicketGroup.Value = "Closed" AND Fields!TicketType.Value = "Closed", 2,
Fields!TicketGroup.Value = "Closed" AND Fields!TicketType.Value = "FCR", 3,
Fields!TicketGroup.Value = "Closed" AND Fields!TicketType.Value = "Submitted", 4,
Fields!TicketGroup.Value = "Open" AND Fields!TicketType.Value = "Submitted", 1,
Fields!TicketGroup.Value = "Open" AND Fields!TicketType.Value = "Closed", 2,
Fields!TicketGroup.Value = "Open" AND Fields!TicketType.Value = "Open", 3,
Fields!TicketGroup.Value = "Open" AND Fields!TicketType.Value = "FCR", 4)
The Closed - FCR centering is correct. The Submitted and Open centering needs to be corrected.
Is my syntax wrong in the switch statement? I don't see why it is not centering
UPDATE Adding a column to sort in each group still does not work. The order is sorted using the first group. Also, I tried using the same value for each ticket type. So that Submitted, Closed and Open are set to 2 and FCR is 3 but that does not work either. The values are identified as Submitted = 3, Closed = 1, FCR = 4, Open = 2.
UPDATE I am trying to use the Lookup Function to concatenate columns to get the correct sort order for each group. It is still not working. The Submitted is , Closed = 2, FCR = 3 and Open = 4. Do the sort values have to be different? Can they not be the same sort value in different groups?
UPDATE Is there a way to vary the distance in the x-axis labels?


