anyone has an idea? is that due to the data source which is an olap cube?
If the source is an OLAP cube, the default view should be sorted based on the sort you defined for that dimension in your cube. You ahve the ability to define the sort order using five options:
1. Formatted Ascending
2. Formatted Descending
3. Unformatted Ascending
4. Unformatted Descending
5. Data set order
I would suggest setting the sort order for this dimension according to how you would like your default view in WRS to appear.
hi TSBruce
Thanks for your reply.
it is my fault that I havn´t make it clear. It is the measures that need to be sorted in either ascending or descending order.
really hope someone can help.
-psysas
In the View Mode, you go to the column in questions, use the right mouse button select either sort asceding or sort descending. Then save the report. That should do it.
well Bruno, the users require that the column is displayed sorted when they click "View report" in WRS. Is that possible?
When you save the report it remembers the sorting. So when you view a report it will use the sorting you specified
ya... but if you have a prompted filter, it will only save the sorting to the report you specified in your filter. An example: your prompted filter has two groups A and B. If you choose group A in your prompt and save the sorting. The report is viewed sorted for group A. But if you opdate your report by selecting group B in your prompt, the report for group B is not sorted.
any idea?
pysas I think you best discuss this with technical support and outline the steps you used to produce the the prompt as well as the report
thanks Bruno, i will do that
I just tested this with WRS4.3 and the sort is remembered and honored even when selecting different values for prompts or anytime the report is opened. It is a requirement to save the report with the sort applied, as this saves the sort in the report definition.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.