RANKX( ALL( 'Product'[Product Name] ), [Sales],, DESC, Skip ) describes which ranking behavior?

Prepare for the Fabric Analytics Engineer Associate Test with comprehensive materials. Explore flashcards, multiple choice questions, and detailed explanations. Get ready for your success!

Multiple Choice

RANKX( ALL( 'Product'[Product Name] ), [Sales],, DESC, Skip ) describes which ranking behavior?

Explanation:
This examines how RANKX handles ties when ranking in descending order and using the Skip option. The function ranks products by their [Sales] value, and because of the DESC order, larger sales get better (smaller) ranks. The key part is the Tie behavior: with Skip, all tied items share the same rank, and the next rank value increases by the number of items that tied. For example, imagine sales are 100, 90, 90, 80 for four products. The top product gets rank 1. The two tied products with 90 both get rank 2. Since there are two items tied, the next rank becomes 2 + 2 = 4, so the last product gets rank 4. This skipping of ranks after a tie is exactly what the Skip setting does. That’s why this choice describes ranking by the largest values first, with ties sharing a rank and the next rank jumping forward by the count of tied items. If you used the Dense setting instead, the next rank would be 3, not 4, after a tie.

This examines how RANKX handles ties when ranking in descending order and using the Skip option. The function ranks products by their [Sales] value, and because of the DESC order, larger sales get better (smaller) ranks. The key part is the Tie behavior: with Skip, all tied items share the same rank, and the next rank value increases by the number of items that tied.

For example, imagine sales are 100, 90, 90, 80 for four products. The top product gets rank 1. The two tied products with 90 both get rank 2. Since there are two items tied, the next rank becomes 2 + 2 = 4, so the last product gets rank 4. This skipping of ranks after a tie is exactly what the Skip setting does.

That’s why this choice describes ranking by the largest values first, with ties sharing a rank and the next rank jumping forward by the count of tied items. If you used the Dense setting instead, the next rank would be 3, not 4, after a tie.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy