SYMPTOM:
Advanced sorting on a metric does not get applied for every page-by selection when related attributes are present in the page-by and in the columns of the report in Strategy Developer.
STEPS TO REPRODUCE:
Follow the steps below to reproduce this issue in the Strategy Tutorial project:


CAUSE:
When related attributes are present in the page by and in the column of the report the attribute element for the metric columns to sort are different for each page by selection, and therefore the Criteria for sorting cannot be kept constant for each page by selection.
ACTION:
Enable subtotals on the report. Enable advanced sorting on the metric and set it to Descending and choose sort by criteria as total. Now the sorting works for all page by selections.
