Hello,
I have an application where user can select any number of products and the crosstab will then display summary data for each selected product in its own column and all other products (not selected) will be combined in one column named 'Other'. The stored procedure for the report already combines all other products in one column, so for example if user selected three products, the stored procedure will return data for those three products and will group all other products in a column named 'Other'. Stored procedure sorts products alphabetically by product name, so the position of the column 'Other' in the dataset is not fixed for every report execution, but it depends on the names of the selected products.
Now the problem:
I always want to display column 'Other' as a last column in the crosstab, no matter which or have many products have been selected by the user. I tried to use specified sort in a crosstab the following way:
1. I have specified group name 'Other' where the field value 'is equal to' Other. So I have one group on 'Specified order' tab.
2. I have checked 'Leave in their own groups' option on 'Others' tab.
This now always displays 'Other' column as the first column in the crosstab and all other columns are sorted alphabetically after the 'Other' column. What I want is to display 'Other' column as the last column in the crosstab. Is this possible with the specified sort?
Thanks
I have an application where user can select any number of products and the crosstab will then display summary data for each selected product in its own column and all other products (not selected) will be combined in one column named 'Other'. The stored procedure for the report already combines all other products in one column, so for example if user selected three products, the stored procedure will return data for those three products and will group all other products in a column named 'Other'. Stored procedure sorts products alphabetically by product name, so the position of the column 'Other' in the dataset is not fixed for every report execution, but it depends on the names of the selected products.
Now the problem:
I always want to display column 'Other' as a last column in the crosstab, no matter which or have many products have been selected by the user. I tried to use specified sort in a crosstab the following way:
1. I have specified group name 'Other' where the field value 'is equal to' Other. So I have one group on 'Specified order' tab.
2. I have checked 'Leave in their own groups' option on 'Others' tab.
This now always displays 'Other' column as the first column in the crosstab and all other columns are sorted alphabetically after the 'Other' column. What I want is to display 'Other' column as the last column in the crosstab. Is this possible with the specified sort?
Thanks