In my T-SQL code the display of my result set appears as follows. The RN is a ROW_NUMBER counter based on AgentNumber:
Period AgentNumber LocationName