0 Replies Latest reply: Mar 21, 2012 10:10 AM by mparmley RSS

    Rank by Dimension

      This is a pretty straight-forward question, but after failing to find a Discussion about it I thought I'd create one. Thank you for your help in advance.

       

      I have a Pivot Chart that has 3 Dimensions: 1) Retail Region Number   2) Store Number   3) Store Name

      There is also a bunch of expressions, the one I'm trying to sort by is entitled [TY In-Store NS $]

       

      I want to rank each Store Number within each Retail Region Number. So if there are 12 stores in each region, then I would expect to see three rankings of 1 through 12. Right now I have the below syntax and it Ranks by Store Number, and ignores the Region.

       

      RANK(TOTAL [TY In-Store NS $],0,1)

       

       

      Thank you,

      -Michael