0
0
Power BIbi_tool~5 mins

RANKX for ranking in Power BI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the RANKX function do in Power BI?
RANKX assigns a rank number to each item in a list based on a value, like sales amount, showing who is first, second, and so on.
Click to reveal answer
intermediate
What is the basic syntax of RANKX?
RANKX(Table, Expression, [Value], [Order], [Ties]) where Table is the list to rank, Expression is the value to rank by, Value is optional, Order is ascending or descending, and Ties decides how to handle equal ranks.
Click to reveal answer
intermediate
How does RANKX handle ties by default?
By default, RANKX gives the same rank to tied values and skips the next ranks accordingly.
Click to reveal answer
advanced
Can RANKX rank items within a filtered group?
Yes, by using FILTER inside RANKX or applying filters to the table, you can rank items within specific groups like regions or categories.
Click to reveal answer
beginner
Why is RANKX useful in dashboards?
It helps show top performers, like best-selling products or highest revenue customers, making data easy to understand and compare.
Click to reveal answer
What does the RANKX function return?
ASum of values
BA rank number for each item
CAverage of values
DA filtered table
Which argument in RANKX defines the order of ranking?
AOrder
BExpression
CTable
DValue
How does RANKX treat ties by default?
AAssigns the same rank and skips next ranks
BAssigns different ranks randomly
CAssigns the same rank and does not skip ranks
DIgnores ties
Can RANKX be used to rank within a specific group like a region?
ANo, it ranks all data only
BOnly with calculated columns
CYes, by filtering the table inside RANKX
DOnly if data is sorted
Which of these is a common use of RANKX in reports?
ACalculating averages
BFiltering data
CCreating charts
DShowing top sellers
Explain how you would use RANKX to show the top 5 products by sales in a Power BI report.
Think about ranking all products by sales and then filtering to keep only the top 5.
You got /4 concepts.
    Describe how RANKX handles ties and how you might change this behavior.
    Consider what happens when two items have the same value and how to control ranking order.
    You got /4 concepts.