user6751695
user6751695

Reputation: 31

Ranking Rows in Tableau

Is it possible to create a RANK number as below?

Image

Thanks for your help in advance,

Upvotes: 0

Views: 331

Answers (1)

lampbob
lampbob

Reputation: 781

You can create a calculated field and use the rank function.

  1. Create calculated field(Analysis->Create Calculated Field
  2. Name the calculation field(going to call it "rank")
  3. In the body of the calc field call the rank function, something like this

    rank(SUM([Number of Records]))
    

Here I am ranking on the number of records.

  1. Select okay and pull your new calc field on to the view in question.

Upvotes: 1

Related Questions