In a Sql Server Reporting Services, I have a dataset I am using as a parameter for a report.
select distinct (integer#) From table order by integer#.
These integer numbers are a positive and negative number of years and months. For example this month would be 201602 and -201602. Last month would be 201601 and -201601. I have 78 selection going back several years with the - and + of each month.
The problem is I would like to order these parameter selections one after the other. Exactly like thi example:
201602 -201602 201601 -21601
Right now they are listing as -201602 -201601 -201512 and the last selection (78th one) at the bottom of the list is 201602
The problem lies in trying to do this so the user who selects the two selections for each yearmonth doesn't have to scroll From the top negative selections to the bottom of the positive selections to pick the positive and negatives for that particular yearmonth...For example right now I have all the negative numbers on top and all the positive numbers on the bottom due to the ascending order in the select statement above. If I create the select statement I showed above in descending order then the positive selections are on top and the negative to the year and month are on the bottom of the 78 selections.
Is there an easy way to get the negative and positive yearmonth one after another?