August 28, 2013 at 3:16 pm
I am trying to concatenate Prodyear and ProdMonth in SSRS (which are basically both integers in table)
So, when I execute it sums up year and month instead of concatenating.
Is there a expression i can use?
August 28, 2013 at 3:20 pm
Your expression should use the & symbol instead of the + symbol, which is a SQL concatenation symbol but not for SSRS expressions.
August 28, 2013 at 3:26 pm
Wow, That surely helped.
But my data should start from June,2013 going backword. ( Thats how the Query is written and executes in SMS).
In the matrix it starts with 012013
Any Idea how I could fix that?
August 28, 2013 at 6:51 pm
Even though the default option is to sort a grouping by the same expression as the grouping and the displayed value, that is not necessarily what you want, and it is definitely not what you want here.
For the group value and the displayed value, add a space to make it readable: = Fields!ProdMonth.Value & " " & Fields!ProdYear.Value
For the sort value, first sort by Fields.ProdYear.Value (descending) and then add a second sort by Fields!ProdMonth.Value (also descending).
Change the rule in the group properties of the column group.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply