Question

The situation: I am generating reports using Report Builder 2.0 and a Report Model that I have created.

The question: How does one sort a parameter list alphabetically? Simple question, but I can't find the answer for the life of me. Kudos to whoever can provide an answer.

Was it helpful?

Solution 2

As it turns out, the answer to my question does not exist because it is not possible. There is an open issue at connect.microsoft.com for this missing feature. Please upvote it on Microsoft's site so that they will fix it in the upcoming version of Report Builder. Thanks.

OTHER TIPS

Depends how your defining the list, but most commonly by adding an order by statement to the sql that defines the parameter list.

I think I may have found a work around. My problem was that I was trying to do this when using a report model as the data source. It seems like the report builder sorted by the left hand most field in the query but when using the model this always seems to be a model generated reference field rather than the actual data held in the field you want.

To have better control of the order in which the entries appeared i did the following.

I created a new field based on the field I wanted to use. Then put this new field rather than the original field from the data model as the left most field in the query.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top