0
0
Tableaubi_tool~5 mins

Rank calculations in Tableau - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the RANK() function do in Tableau?
The RANK() function assigns a rank number to each value in a partition, with 1 being the highest or lowest depending on the order specified.
Click to reveal answer
beginner
How do you rank sales from highest to lowest in Tableau?
Use RANK(SUM([Sales]), 'desc') to rank sales from highest (rank 1) to lowest.
Click to reveal answer
intermediate
What is the difference between RANK(), RANK_DENSE(), and RANK_UNIQUE() in Tableau?
RANK() skips ranks after ties, RANK_DENSE() does not skip ranks after ties, and RANK_UNIQUE() assigns unique ranks to each row regardless of ties.
Click to reveal answer
intermediate
Why is partitioning important in rank calculations?
Partitioning defines the group over which ranking is calculated, so ranks reset for each partition group.
Click to reveal answer
intermediate
How can you handle ties in rank calculations in Tableau?
You can choose different rank functions like RANK() or RANK_DENSE() to control how ties are ranked and how ranks are skipped or not.
Click to reveal answer
Which Tableau function assigns rank numbers without skipping ranks after ties?
ARANK()
BRANK_UNIQUE()
CRANK_DENSE()
DINDEX()
What does RANK(SUM([Profit]), 'asc') do?
ARanks profits from lowest to highest
BReturns the index of each row
CCalculates the sum of profits
DRanks profits from highest to lowest
In Tableau, what is the role of partitioning in rank calculations?
AIt filters data before ranking
BIt defines groups where ranking restarts
CIt sorts data alphabetically
DIt changes the rank function
Which function would you use to assign the same rank to tied values and skip the next rank(s)?
AINDEX()
BRANK_DENSE()
CRANK_UNIQUE()
DRANK()
What rank does the highest value get when using RANK() with 'desc' order?
A1
B0
CThe last rank
DDepends on partition
Explain how you would create a rank calculation for sales by region in Tableau.
Think about grouping and ordering your sales data.
You got /4 concepts.
    Describe the differences between RANK(), RANK_DENSE(), and RANK_UNIQUE() and when you might use each.
    Focus on how ties affect the rank numbering.
    You got /3 concepts.